Fix bug
This commit is contained in:
parent
977e354646
commit
cbe9461809
@ -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()
|
||||||
else:
|
elif last_fetch_by_backends[backend]:
|
||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user