|
@@ -81,6 +81,7 @@ class CmdThread(threading.Thread):
|
|
CmdThread.requestId = id
|
|
CmdThread.requestId = id
|
|
|
|
|
|
def run(self):
|
|
def run(self):
|
|
|
|
+ os.environ['GRASS_MESSAGE_FORMAT'] = 'gui'
|
|
while True:
|
|
while True:
|
|
requestId, callable, onDone, args, kwds = self.requestQ.get()
|
|
requestId, callable, onDone, args, kwds = self.requestQ.get()
|
|
|
|
|
|
@@ -817,7 +818,7 @@ class GMStderr:
|
|
for line in s.splitlines():
|
|
for line in s.splitlines():
|
|
if len(line) == 0:
|
|
if len(line) == 0:
|
|
continue
|
|
continue
|
|
-
|
|
|
|
|
|
+
|
|
if 'GRASS_INFO_PERCENT' in line:
|
|
if 'GRASS_INFO_PERCENT' in line:
|
|
value = int(line.rsplit(':', 1)[1].strip())
|
|
value = int(line.rsplit(':', 1)[1].strip())
|
|
if value >= 0 and value < 100:
|
|
if value >= 0 and value < 100:
|