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:
|
||||
print("Existing record not found")
|
||||
if not event_class["is_postable"]:
|
||||
print(
|
||||
"Outage is {} considered postable, will not post".format(
|
||||
event_class["size"]
|
||||
)
|
||||
)
|
||||
print("Outage is not considered postable, will not post")
|
||||
continue
|
||||
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