mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix str expected instead of bytes
This commit is contained in:
parent
563a6e1ecb
commit
3b289ba8e8
1 changed files with 2 additions and 1 deletions
|
@ -180,9 +180,10 @@ class GitUpdateManager(UpdateManager):
|
|||
output, err = p.communicate()
|
||||
exit_status = p.returncode
|
||||
|
||||
output = output.decode('utf-8')
|
||||
|
||||
if output:
|
||||
output = output.strip()
|
||||
output = output.decode('utf-8')
|
||||
if core.LOG_GIT:
|
||||
logger.log(u"git output: {output}".format(output=output), logger.DEBUG)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue