Просмотр исходного кода

gcmd.RunCommand needs to return error messages in this context

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41151 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 15 лет назад
Родитель
Сommit
69b434ff32
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      gui/wxpython/gui_modules/render.py

+ 2 - 1
gui/wxpython/gui_modules/render.py

@@ -148,7 +148,8 @@ class Layer(object):
             if self.type == 'command':
                 read = False
                 for c in self.cmd:
-                    ret = gcmd.RunCommand(c[0],
+                    ret, msg = gcmd.RunCommand(c[0],
+                                          getErrorMsg = True,
                                           quiet = True,
                                           **c[1])
                     if ret != 0: