浏览代码

wxGUI: fix variable typo
(merge from devbr6, https://trac.osgeo.org/grass/changeset/35776)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35777 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 年之前
父节点
当前提交
bfa4ff84e6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/gui_modules/utils.py

+ 2 - 2
gui/wxpython/gui_modules/utils.py

@@ -347,9 +347,9 @@ def CmdToTuple(cmd):
             key, value = item.split('=')
             dcmd[str(key)] = str(value)
         else: # -> flags
-            if not dmcd.has_key('flags'):
+            if not dcmd.has_key('flags'):
                 dcmd['flags'] = ''
-            dmcd['flags'] += item.replace('-', '')
+            dcmd['flags'] += item.replace('-', '')
                 
     return (cmd[0],
             dcmd)