mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 06:35:24 +00:00
Only rstrip log lines as to not lose indentation
This commit is contained in:
@@ -40,7 +40,7 @@ def run(image: str = None, command: str = None, volumes: dict = None,
|
||||
except StopIteration:
|
||||
break
|
||||
if line:
|
||||
yield line.strip()
|
||||
yield line.rstrip()
|
||||
else:
|
||||
break
|
||||
|
||||
|
Reference in New Issue
Block a user