Pārlūkot izejas kodu

fix https://trac.osgeo.org/grass/ticket/1249 (unexpected error from the wxguy using "show attribute table" from the toolbar)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@44687 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 gadi atpakaļ
vecāks
revīzija
4577efab6e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      gui/wxpython/gui_modules/dbm.py

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

@@ -2350,7 +2350,7 @@ class LayerBook(wx.Notebook):
                                   quiet = True)
         
         for line in connect.splitlines():
-            item, value = line.split(':')
+            item, value = line.split(':', 1)
             self.defaultConnect[item.strip()] = value.strip()
         
         if len(self.defaultConnect['driver']) == 0 or \