Browse Source

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 years ago
parent
commit
5355e9b334
1 changed files with 1 additions and 1 deletions
  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