Remove continue, formatting
This commit is contained in:
parent
194f7c544f
commit
7ad2dcbe0d
1 changed files with 5 additions and 2 deletions
7
scl.py
7
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"]
|
||||
|
|
Loading…
Reference in a new issue