Add missing brackets for method invokation
This commit is contained in:
parent
01e9f7ec0a
commit
28d4b1e36b
@ -48,7 +48,7 @@ def preprocess_data(config, force=False):
|
|||||||
with get_session() as session:
|
with get_session() as session:
|
||||||
is_built = (
|
is_built = (
|
||||||
session.query(PublicTransport).count() > 0 and
|
session.query(PublicTransport).count() > 0 and
|
||||||
session.query(PostalCode).count > 0
|
session.query(PostalCode).count() > 0
|
||||||
)
|
)
|
||||||
if is_built and not force:
|
if is_built and not force:
|
||||||
# No need to rebuild the database, skip
|
# No need to rebuild the database, skip
|
||||||
|
Loading…
Reference in New Issue
Block a user