Skip to content

A live bird collage card for your Home Assistant dashboard.

Update notifications.py

ehpersonal38048713a145ac
diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py
index f451b5b0..c3ce7833 100644
--- a/scripts/utils/notifications.py
+++ b/scripts/utils/notifications.py
@@ -58,7 +58,8 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu
image_url = 'https://farm'+str(data["farm"])+'.static.flickr.com/'+str(data["server"])+'/'+str(data["id"])+'_'+str(data["secret"])+'_n.jpg'
flickr_images[comName] = image_url
- except ValueError:
+ except Exception as e:
+ print("FLICKR API ERROR: "+e)
image_url = ""
else:
image_url = flickr_images[comName]