fix syntax error
Co-Authored-By: croisez <1774281+croisez@users.noreply.github.com>
This commit is contained in:
@@ -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__":
|
||||||
|
|||||||
Reference in New Issue
Block a user