From eafc61f56289523a1375d3995241ce80f0c1ea37 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Thu, 21 Jul 2022 10:41:23 -0400 Subject: [PATCH] stop error message from throwing an error --- scripts/utils/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py index c3ce783..17abcd3 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]