Browse Source

Revert "Fix bug"

This reverts commit cbe9461809.
Phyks (Lucas Verney) 7 months ago
parent
commit
ebd031c047
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      flatisfy/fetch.py

+ 1
- 1
flatisfy/fetch.py View File

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