Bugfix
This commit is contained in:
parent
cbe9461809
commit
e284a71a43
@ -314,6 +314,7 @@ def fetch_flats(config):
|
|||||||
backend=backend,
|
backend=backend,
|
||||||
last_fetch=arrow.get(last_fetch_by_backends[backend]).date()
|
last_fetch=arrow.get(last_fetch_by_backends[backend]).date()
|
||||||
)
|
)
|
||||||
|
if last_fetch_in_db:
|
||||||
session.add(last_fetch_in_db)
|
session.add(last_fetch_in_db)
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user