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:
|
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"]
|
||||||
|
|
Loading…
Reference in a new issue