This commit is contained in:
Lucas Verney 2021-04-13 12:19:48 +02:00
parent 977e354646
commit cbe9461809
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()
else:
elif last_fetch_by_backends[backend]:
last_fetch_in_db = last_fetch_model.LastFetch(
constraint_name=constraint_name,
backend=backend,