change
This commit is contained in:
2
main.py
2
main.py
@@ -33,7 +33,7 @@ def get_blackouts(bill_id) -> list:
|
|||||||
return response.json().get("data", [])
|
return response.json().get("data", [])
|
||||||
else:
|
else:
|
||||||
print(f"❌ Failed to get blackouts: {response.text}")
|
print(f"❌ Failed to get blackouts: {response.text}")
|
||||||
exit(1)
|
return []
|
||||||
|
|
||||||
|
|
||||||
def load_blackouts() -> dict:
|
def load_blackouts() -> dict:
|
||||||
|
|||||||
Reference in New Issue
Block a user