Skip to content

Commit

Permalink
fix: use client.wait_for_start()
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 17, 2024
1 parent f9888c9 commit c5f3106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aw_notify/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def start(testing=False):
"""Start the notification service."""
global aw
aw = aw_client.ActivityWatchClient("aw-notify", testing=testing)
aw.wait_for_start()

send_checkin()
send_checkin_yesterday()
Expand Down

0 comments on commit c5f3106

Please sign in to comment.