Merge branch 'master' of git.phyks.me:Phyks/flatisfy
This commit is contained in:
commit
d6bee1dcb0
@ -101,7 +101,7 @@ def refine_with_details_criteria(flats_list, constraint):
|
|||||||
for i, flat in enumerate(flats_list):
|
for i, flat in enumerate(flats_list):
|
||||||
# Check number of pictures
|
# Check number of pictures
|
||||||
has_enough_photos = tools.is_within_interval(
|
has_enough_photos = tools.is_within_interval(
|
||||||
flat.get('photos', []),
|
len(flat.get('photos', [])),
|
||||||
constraint['minimum_nb_photos'],
|
constraint['minimum_nb_photos'],
|
||||||
None
|
None
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user