From 678495e779a1d59b6b7d20ef8d68e2a35486fd45 Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Wed, 25 Mar 2015 12:43:10 +0100 Subject: [PATCH] [explorimmo] fix bug when available field is not found --- modules/explorimmo/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/explorimmo/pages.py b/modules/explorimmo/pages.py index f6e18ae3..ab3afc20 100644 --- a/modules/explorimmo/pages.py +++ b/modules/explorimmo/pages.py @@ -134,7 +134,7 @@ class HousingPage2(JsonPage): rooms = Dict('characteristics/roomCount')(self) if len(rooms): details['rooms'] = rooms[0] - details['available'] = Dict('characteristics/available')(self) + details['available'] = Dict('characteristics/available', default=NotAvailable)(self) return details def get_total_page(self):