Skip to content

Commit

Permalink
Update warning for active tracking not being restarted
Browse files Browse the repository at this point in the history
  • Loading branch information
arneturuc authored Feb 8, 2024
1 parent cae028b commit a1fd9df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion timewsync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a1fd9df

Please sign in to comment.