diff --git a/requirements-frozen.txt b/requirements-frozen.txt index eff346a..e7d5a31 100644 --- a/requirements-frozen.txt +++ b/requirements-frozen.txt @@ -1,5 +1,5 @@ aiofiles==0.4.0 -aiohttp==3.4.4 +aiohttp==3.7.4 argh==0.26.2 async-timeout==3.0.1 attrs==18.2.0 @@ -8,7 +8,7 @@ chardet==3.0.4 httptools==0.0.11 idna==2.8 idna-ssl==1.1.0 -Jinja2==2.10.1 +Jinja2==2.11.3 MarkupSafe==1.1.0 multidict==4.5.2 peewee==3.7.1 @@ -16,7 +16,7 @@ requests==2.21.0 sanic==19.3.1 sanic-jinja2==0.7.2 ujson==1.35 -urllib3==1.24.2 +urllib3==1.26.5 uvloop==0.11.3 websockets==9.1 yarl==1.3.0 diff --git a/run.py b/run.py index f1ff037..d7ba8cc 100644 --- a/run.py +++ b/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)