Explorar o código

wxGUI: fix where parsering
(merge from devbr6, https://trac.osgeo.org/grass/changeset/36557)


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

Martin Landa %!s(int64=16) %!d(string=hai) anos
pai
achega
8be9971a72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gui_modules/utils.py

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

@@ -347,7 +347,7 @@ def CmdToTuple(cmd):
     dcmd = {}
     for item in cmd[1:]:
         if '=' in item:
-            key, value = item.split('=')
+            key, value = item.split('=', 1)
             dcmd[str(key)] = str(value)
         else: # -> flags
             if not dcmd.has_key('flags'):