浏览代码

wxGUI: fix histogram of imagery group on Windows, see https://trac.osgeo.org/grass/ticket/2961 (merge from trunk, https://trac.osgeo.org/grass/changeset/68238)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@68239 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 年之前
父节点
当前提交
b99fa37c13
共有 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', 
                                   group = '%s' % self.group, 
                                   quiet = True,
-                                  flags = 'g').strip().split('\n')
+                                  flags = 'g').strip().splitlines()
 
         if ret not in [None, '', ['']]:
             self.rasterList = ret