[leboncoin] properly fill object
This commit is contained in:
parent
38bc6819df
commit
11e124c860
2 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class LeboncoinModule(Module, CapHousing):
|
|||
return self.browser.get_housing(_id)
|
||||
|
||||
def fill_housing(self, housing, fields):
|
||||
return self.browser.get_housing(housing.id)
|
||||
return self.browser.get_housing(housing.id, housing)
|
||||
|
||||
def fill_photo(self, photo, fields):
|
||||
if 'data' in fields and photo.url and not photo.data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue