Browse Source

Add missing brackets for method invokation

updated_weboob
Gautier Pelloux-Prayer 5 years ago committed by Phyks (Lucas Verney)
parent
commit
28d4b1e36b
  1. 2
      flatisfy/data.py

2
flatisfy/data.py

@ -48,7 +48,7 @@ def preprocess_data(config, force=False): @@ -48,7 +48,7 @@ def preprocess_data(config, force=False):
with get_session() as session:
is_built = (
session.query(PublicTransport).count() > 0 and
session.query(PostalCode).count > 0
session.query(PostalCode).count() > 0
)
if is_built and not force:
# No need to rebuild the database, skip

Loading…
Cancel
Save