mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 06:35:24 +00:00
Don't decode streamed log from backup container
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user