Skip to content

Commit

Permalink
Remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
LOUDO56 committed Sep 30, 2024
1 parent 42b83cd commit 533a5ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/macro/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,8 @@ def __play_events(self):
now = datetime.now()
seconds_since_midnight = (now - now.replace(hour=0, minute=0, second=0, microsecond=0)).total_seconds()
secondsToWait = userSettings["Playback"]["Repeat"]["Scheduled"] - seconds_since_midnight
print(secondsToWait)
if secondsToWait < 0:
secondsToWait = 86400 + secondsToWait # 86400 + -secondsToWait. Meaning it will happen tomorrow
print(secondsToWait)
sleep(secondsToWait)
for repeat in range(repeat_times):
for events in range(len(self.macro_events["events"])):
Expand Down

0 comments on commit 533a5ff

Please sign in to comment.