Browse Source

Fixes #55: Handle ValueError when fetching detailed info about a flat;

merge-requests/1/head
Benjamin Bouvier 5 years ago
parent
commit
4beee77a02
  1. 4
      flatisfy/fetch.py

4
flatisfy/fetch.py

@ -219,6 +219,10 @@ class WeboobProxy(object): @@ -219,6 +219,10 @@ class WeboobProxy(object):
full_flat_id,
str(exc)
)
return "{}"
except ValueError as exc:
LOGGER.error("ValueError for flat_id=%s: %s", flat_id, str(exc))
return "{}"
def fetch_flats_list(config):

Loading…
Cancel
Save