瀏覽代碼

wxGUI: fix histogram of imagery group on Windows, see https://trac.osgeo.org/grass/ticket/2961

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68238 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 年之前
父節點
當前提交
5355e9b334
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/wxplot/dialogs.py

+ 1 - 1
gui/wxpython/wxplot/dialogs.py

@@ -491,7 +491,7 @@ class HistRasterDialog(wx.Dialog):
         ret = grass.read_command('i.group', 
         ret = grass.read_command('i.group', 
                                   group = '%s' % self.group, 
                                   group = '%s' % self.group, 
                                   quiet = True,
                                   quiet = True,
-                                  flags = 'g').strip().split('\n')
+                                  flags = 'g').strip().splitlines()
 
 
         if ret not in [None, '', ['']]:
         if ret not in [None, '', ['']]:
             self.rasterList = ret
             self.rasterList = ret