From a1fd9df1a29fd436c7dfe5f6572e836c72242d30 Mon Sep 17 00:00:00 2001 From: arneturuc Date: Thu, 8 Feb 2024 14:53:35 +0100 Subject: [PATCH] Update warning for active tracking not being restarted --- timewsync/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/timewsync/__init__.py b/timewsync/__init__.py index 9e3dc6a..63c2bb7 100644 --- a/timewsync/__init__.py +++ b/timewsync/__init__.py @@ -237,7 +237,10 @@ def sync(configuration: Configuration) -> None: print("Synchronization successful!", file=sys.stderr) if active_interval and not started_tracking: - log.warning("Warning: Cannot restart time tracking because there exists a time interval in the future!") + log.warning( + "Warning: Cannot restart time tracking because there exists a time interval in the future " + "which would overlap with the open interval!" + ) def _generate_key(data_dir: str) -> None: