summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElisa Sohier <elisa.sohier@art-software.fr>2019-11-19 09:47:36 +0100
committerElisa Sohier <elisa.sohier@art-software.fr>2019-11-19 09:47:36 +0100
commitd7355c7c30428d057ce8ceb79556269e7c51c531 (patch)
tree5b2360a9ac0486f19ed30e9c2a00efca6c1dd685
parent6be191acc49bf166d9b519f8935405ef8d9da747 (diff)
Fixed bug on log error
-rw-r--r--autosync/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autosync/__init__.py b/autosync/__init__.py
index 039baa1..b1c695e 100644
--- a/autosync/__init__.py
+++ b/autosync/__init__.py
@@ -167,7 +167,7 @@ def run():
with open(os.path.join(src, ".lastsync"), "w") as f:
f.write(str(time.time()))
if status != 0 and status is not None:
- log(4, "Error while syncing target {} @ {}, aborting".format(name, tabname))
+ log(4, "sync {}@{}".format(name, tabname), "Error while syncing target, aborting")
return
if os.path.exists("/tmp/source.ts"):