Przeglądaj źródła

wxGUI: fixing trac https://trac.osgeo.org/grass/ticket/191 (merge devbr6, https://trac.osgeo.org/grass/changeset/31760)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31761 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 17 lat temu
rodzic
commit
73a8660b02
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gui/wxpython/gui_modules/location_wizard.py

+ 1 - 1
gui/wxpython/gui_modules/location_wizard.py

@@ -2042,7 +2042,7 @@ class LocationWizard(wx.Object):
         except:
         except:
             pass
             pass
 
 
-        if dtoptions != None:
+        if dtoptions != {}:
             dtrans = ''
             dtrans = ''
             # open a dialog to select datum transform number
             # open a dialog to select datum transform number
             dlg = SelectDatumDialog(self.parent, datums=dtoptions)
             dlg = SelectDatumDialog(self.parent, datums=dtoptions)