Compare commits
No commits in common. "7ad2dcbe0db6c2d4b641e8fed8d25a38edfbdd0d" and "ecd99aa05596e04a486f48af33fef1f2382c72ce" have entirely different histories.
7ad2dcbe0d
...
ecd99aa055
1 changed files with 2 additions and 5 deletions
7
scl.py
7
scl.py
|
@ -209,11 +209,8 @@ 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(
|
print("Outage is not considered postable, will not post")
|
||||||
"Outage is {} considered postable, will not post".format(
|
continue
|
||||||
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