print error

This commit is contained in:
Lord Anton Hvornum 2018-04-07 14:35:51 +02:00
parent 14ee4cdf8c
commit d1c0600ebf
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ def run(cmd, echo=False):
data = handle.stdout.read()
if len(data):
if echo:
print(data.decode('UTF-8', end=''))
print(data.decode('UTF-8'), end='')
# print(data.decode('UTF-8'), end='')
output += data
output += handle.stdout.read()