From 0570e9b093f24dd2b448152902b3e0db59adb178 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Fri, 21 Apr 2023 16:06:54 -0400 Subject: [PATCH] fix syntax error Co-Authored-By: croisez <1774281+croisez@users.noreply.github.com> --- scripts/utils/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py index efa1f44..eaee216 100644 --- a/scripts/utils/notifications.py +++ b/scripts/utils/notifications.py @@ -170,7 +170,7 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu except sqlite3.Error as e: print(e) print("Database busy") - time.sleep(2) + timeim.sleep(2) if settings_dict.get('APPRISE_NOTIFY_NEW_SPECIES') == "1": try: @@ -217,7 +217,7 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu con.close() except sqlite3.Error: print("Database busy") - time.sleep(2) + timeim.sleep(2) if __name__ == "__main__":