Skip to content

A live bird collage card for your Home Assistant dashboard.

stop error message from throwing an error

ehpersonal38eafc61f56289
diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py
index c3ce7833..17abcd35 100644
--- a/scripts/utils/notifications.py
+++ b/scripts/utils/notifications.py
@@ -59,7 +59,7 @@ 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 Exception as e:
- print("FLICKR API ERROR: "+e)
+ print("FLICKR API ERROR: "+str(e))
image_url = ""
else:
image_url = flickr_images[comName]