Jelajahi Sumber

fix variable typo (https://trac.osgeo.org/grass/changeset/65382)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65383 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 tahun lalu
induk
melakukan
b30e2106dc
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      gui/wxpython/gui_core/dialogs.py

+ 4 - 4
gui/wxpython/gui_core/dialogs.py

@@ -1661,11 +1661,11 @@ class ImportDialog(wx.Dialog):
             self.options[name] = wx.CheckBox(parent = self.panel, id = wx.ID_ANY,
                                              label = desc)
         
-        for f in task.get_options()['params']:
-            name = f.get('name', '')
-            desc = f.get('label', '')
+        for p in task.get_options()['params']:
+            name = p.get('name', '')
+            desc = p.get('label', '')
             if not desc:
-                desc = f.get('description', '')
+                desc = p.get('description', '')
             if not name and not desc:
                 continue
             if cmd == 'v.in.ogr' and name == 'encoding':