From 7ad2dcbe0db6c2d4b641e8fed8d25a38edfbdd0d Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Tue, 30 Jan 2024 16:00:00 -0800 Subject: [PATCH] Remove continue, formatting --- scl.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scl.py b/scl.py index fab1ff5..3673ae4 100644 --- a/scl.py +++ b/scl.py @@ -209,8 +209,11 @@ with Session(engine) as session: except NoResultFound: print("Existing record not found") if not event_class["is_postable"]: - print("Outage is {} considered postable, will not post".format(event_class["size"])) - continue + print( + "Outage is {} considered postable, will not post".format( + event_class["size"] + ) + ) else: # Fallback location from the SCL API in case one couldn't be reverse geocoded area_text = event["city"]