Skip to content

Commit

Permalink
isort/black/flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyhoyat authored Oct 23, 2022
1 parent 02d5e73 commit 021ffd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions city_scrapers/spiders/cle_city_council.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from datetime import datetime
from tracemalloc import start

from city_scrapers_core.constants import CITY_COUNCIL, COMMITTEE
from city_scrapers_core.items import Meeting
from city_scrapers_core.spiders import LegistarSpider
Expand All @@ -20,12 +20,12 @@ def parse_legistar(self, events):
needs.
"""
for event in events:
if (self.legistar_start(event) is None):
start = datetime.strptime("01-01-01 00:00:00", '%y-%m-%d %H:%M:%S')

if self.legistar_start(event) is None:
start = datetime.strptime("01-01-01 00:00:00", "%y-%m-%d %H:%M:%S")
else:
start = self.legistar_start(event)

print(self.legistar_start(event))
meeting = Meeting(
title=event["Name"]["label"],
Expand Down

0 comments on commit 021ffd9

Please sign in to comment.