Revert "Fix bug"

This reverts commit cbe9461809.
This commit is contained in:
Lucas Verney 2021-04-28 19:54:18 +02:00
parent ff927cbafa
commit ebd031c047

View File

@ -308,7 +308,7 @@ def fetch_flats(config):
last_fetch_in_db.last_fetch = arrow.get( last_fetch_in_db.last_fetch = arrow.get(
last_fetch_by_backends[backend] last_fetch_by_backends[backend]
).date() ).date()
elif last_fetch_by_backends[backend]: else:
last_fetch_in_db = last_fetch_model.LastFetch( last_fetch_in_db = last_fetch_model.LastFetch(
constraint_name=constraint_name, constraint_name=constraint_name,
backend=backend, backend=backend,