Skip to content

Commit

Permalink
wxGUI/gcmd: fix read command stdout (#1228)
Browse files Browse the repository at this point in the history
(caused an incorrect line break in the e.g. 'GRASS_INFO_PERCENT: 3'
and error during parsing percent value)
  • Loading branch information
tmszi committed Mar 24, 2021
1 parent 0f0b7f8 commit b511715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/core/gcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def _recv(self, which, maxsize):
if not select.select([conn], [], [], 0)[0]:
return ''

r = conn.read(maxsize)
r = conn.read()

if not r:
return self._close(which)
Expand Down

0 comments on commit b511715

Please sign in to comment.