aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autosync/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/autosync/__init__.py b/autosync/__init__.py
index 2a63928..c627537 100644
--- a/autosync/__init__.py
+++ b/autosync/__init__.py
@@ -107,8 +107,12 @@ def run():
if not server:
with open(os.path.join(src, ".lastsync"), "w") as f:
f.write(str(time.time()))
+ else:
+ print("\033[2;3;37mServer mode, won't update timestamp\033[0m")
sync(src, dst, ignoreFile, True)
else:
+ if server:
+ print("\033[2;3;37mServer mode, won't update timestamp\033[0m")
msg("[{} @ {}] gathering data from destination".format(name, tabname))
sync(dst, src, ignoreFile, True)
if not server: