summaryrefslogtreecommitdiff
path: root/hosts/vidhar/borg
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/borg')
-rwxr-xr-xhosts/vidhar/borg/copy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py
index 1f65d053..809184a3 100755
--- a/hosts/vidhar/borg/copy.py
+++ b/hosts/vidhar/borg/copy.py
@@ -177,7 +177,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry):
177 continue 177 continue
178 178
179 t = '' 179 t = ''
180 if 'time' in json_line: 180 if 'time' in json_line and stderr.isatty():
181 ts = datetime.fromtimestamp(json_line['time']).replace(tzinfo=tzlocal()) 181 ts = datetime.fromtimestamp(json_line['time']).replace(tzinfo=tzlocal())
182 t = f'{ts.isoformat(timespec="minutes")} ' 182 t = f'{ts.isoformat(timespec="minutes")} '
183 if json_line['type'] == 'archive_progress': 183 if json_line['type'] == 'archive_progress':