Skip to content

Commit

Permalink
Hotfix non-UTF-8 str with swarmmgr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Mar 9, 2022
1 parent 12100d0 commit b41cefb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pman/swarmmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_job_logs(self, job):
"""
Get the logs from a previously scheduled job object.
"""
return ''.join([l.decode() for l in job.logs(stdout=True, stderr=True)])
return ''.join([l.decode(errors='replace') for l in job.logs(stdout=True, stderr=True)])

def get_job_info(self, job: Service) -> JobInfo:
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'pman',
version = '3.5.1',
version = '3.5.2',
description = 'Process Manager',
long_description = readme,
author = 'FNNDSC Developers',
Expand Down

0 comments on commit b41cefb

Please sign in to comment.