mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 02:25:41 +00:00
Only rstrip log lines as to not lose indentation
This commit is contained in:
1 parent
e6d914df7c
commit
ed3774ad14
1 file changed
+1
-1
@@ -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