Compare commits

..

2 commits

Author SHA1 Message Date
7ad2dcbe0d Remove continue, formatting 2024-01-30 16:00:00 -08:00
194f7c544f Additional logging of size 2024-01-30 15:49:26 -08:00

7
scl.py
View file

@ -209,8 +209,11 @@ with Session(engine) as session:
except NoResultFound: except NoResultFound:
print("Existing record not found") print("Existing record not found")
if not event_class["is_postable"]: if not event_class["is_postable"]:
print("Outage is not considered postable, will not post") print(
continue "Outage is {} considered postable, will not post".format(
event_class["size"]
)
)
else: else:
# Fallback location from the SCL API in case one couldn't be reverse geocoded # Fallback location from the SCL API in case one couldn't be reverse geocoded
area_text = event["city"] area_text = event["city"]