Selaa lähdekoodia

wxGUI/gcmd: fix read command stdout (#1228)

(caused an incorrect line break in the e.g. 'GRASS_INFO_PERCENT: 3'
and error during parsing percent value)
Tomas Zigo 4 vuotta sitten
vanhempi
commit
b4298a812a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      gui/wxpython/core/gcmd.py

+ 1 - 1
gui/wxpython/core/gcmd.py

@@ -297,7 +297,7 @@ class Popen(subprocess.Popen):
                 if not select.select([conn], [], [], 0)[0]:
                 if not select.select([conn], [], [], 0)[0]:
                     return ''
                     return ''
 
 
-                r = conn.read(maxsize)
+                r = conn.read()
 
 
                 if not r:
                 if not r:
                     return self._close(which)
                     return self._close(which)