Browse Source

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 years ago
parent
commit
bfa4ff84e6
1 changed files with 2 additions and 2 deletions
  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)