mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
Update run.py
Would solve error during pepette_ynh test
This commit is contained in:
parent
cd89ea729b
commit
36c61110af
1 changed files with 1 additions and 1 deletions
2
run.py
2
run.py
|
@ -404,7 +404,7 @@ async def run_job(worker, job):
|
|||
data = await command.stdout.readline()
|
||||
|
||||
try:
|
||||
job.log += data.decode()
|
||||
job.log += data.decode('utf-8', 'replace')
|
||||
except UnicodeDecodeError as e:
|
||||
job.log += "Uhoh ?! UnicodeDecodeError in yunorunner !?"
|
||||
job.log += str(e)
|
||||
|
|
Loading…
Add table
Reference in a new issue