Removed try block due to error
This commit is contained in:
@@ -120,6 +120,7 @@ def update_temp():
|
||||
if see_if_temp_exists is not None:
|
||||
return ({"ok": True}), 200
|
||||
else:
|
||||
try:
|
||||
temps = []
|
||||
|
||||
owm = OWM('21648d8c8d1a4ae495ace0b7810b4d36')
|
||||
@@ -159,3 +160,5 @@ def update_temp():
|
||||
return ({"ok": True}), 200
|
||||
|
||||
|
||||
except:
|
||||
return ({"ok": True}), 200
|
||||
Reference in New Issue
Block a user