Explorar o código

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 %!s(int64=16) %!d(string=hai) anos
pai
achega
bfa4ff84e6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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('=')
             key, value = item.split('=')
             dcmd[str(key)] = str(value)
             dcmd[str(key)] = str(value)
         else: # -> flags
         else: # -> flags
-            if not dmcd.has_key('flags'):
+            if not dcmd.has_key('flags'):
                 dcmd['flags'] = ''
                 dcmd['flags'] = ''
-            dmcd['flags'] += item.replace('-', '')
+            dcmd['flags'] += item.replace('-', '')
                 
                 
     return (cmd[0],
     return (cmd[0],
             dcmd)
             dcmd)