fix syntax error

Co-Authored-By: croisez <1774281+croisez@users.noreply.github.com>
This commit is contained in:
ehpersonal38
2023-04-21 16:06:54 -04:00
parent 21a38d3e0d
commit 0570e9b093
+2 -2
View File
@@ -170,7 +170,7 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu
except sqlite3.Error as e: except sqlite3.Error as e:
print(e) print(e)
print("Database busy") print("Database busy")
time.sleep(2) timeim.sleep(2)
if settings_dict.get('APPRISE_NOTIFY_NEW_SPECIES') == "1": if settings_dict.get('APPRISE_NOTIFY_NEW_SPECIES') == "1":
try: try:
@@ -217,7 +217,7 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu
con.close() con.close()
except sqlite3.Error: except sqlite3.Error:
print("Database busy") print("Database busy")
time.sleep(2) timeim.sleep(2)
if __name__ == "__main__": if __name__ == "__main__":