Don't decode streamed log from backup container

This commit is contained in:
Einar Forselv 2019-11-25 21:20:37 +01:00
parent cb0980f8ce
commit a35814fd2d
1 changed files with 0 additions and 1 deletions

View File

@ -46,7 +46,6 @@ def run(image: str = None, command: str = None, volumes: dict = None,
with open('backup.log', 'w') as fd: with open('backup.log', 'w') as fd:
for line in readlines(log_generator): for line in readlines(log_generator):
line = line.decode()
fd.write(line) fd.write(line)
logger.info(line) logger.info(line)