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
1 changed files with 1 additions and 1 deletions

View File

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