Skip to content

A live bird collage card for your Home Assistant dashboard.

fix syntax error

ehpersonal380570e9b093f2
diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py
index efa1f446..eaee216c 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__":