diff --git a/modules/pap/module.py b/modules/pap/module.py index 0c422eda..989030f5 100644 --- a/modules/pap/module.py +++ b/modules/pap/module.py @@ -63,7 +63,7 @@ class PapModule(Module, CapHousing): def fill_photo(self, photo, fields): if 'data' in fields and photo.url and not photo.data: - photo.data = self.browser.readurl(photo.url) + photo.data = self.browser.open(photo.url).content return photo OBJECTS = {Housing: fill_housing,