Просмотр исходного кода

wxGUI Set vector output format: fix load profile settings (#451)

Tomas Zigo 5 лет назад
Родитель
Сommit
e358f4ca0a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gui/wxpython/gui_core/gselect.py

+ 1 - 1
gui/wxpython/gui_core/gselect.py

@@ -1893,7 +1893,7 @@ class GdalSelect(wx.Panel):
         # data list: [type, dsn, format, options]
         if len(data) == 3:
             data.append('')
-        elif len < 3:
+        elif len(data) < 3:
             return
 
         self.source.SetSelection(self.sourceMap[data[0]])