Don't decode streamed log from backup container
This commit is contained in:
parent
cb0980f8ce
commit
a35814fd2d
|
@ -46,7 +46,6 @@ def run(image: str = None, command: str = None, volumes: dict = None,
|
|||
|
||||
with open('backup.log', 'w') as fd:
|
||||
for line in readlines(log_generator):
|
||||
line = line.decode()
|
||||
fd.write(line)
|
||||
logger.info(line)
|
||||
|
||||
|
|
Loading…
Reference in New Issue