Remove continue, formatting

This commit is contained in:
Liam Steckler 2024-01-30 16:00:00 -08:00
parent 194f7c544f
commit 7ad2dcbe0d

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 {} considered postable, will not post".format(event_class["size"])) 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"]