last change for lisrue2. cloture sup-10637 / sup-10635.
This commit is contained in:
parent
2ed909f5d8
commit
a0cda1a0d4
|
@ -72,7 +72,8 @@ class ImioLiegeLisrue(BaseResource):
|
|||
if self.include_all_of_belgium:
|
||||
url += "jsonruebelgique/findByValue?indexName=RUE&startResult=0&maxResult=30&value="
|
||||
else:
|
||||
url += "jsonlgrue2com/"
|
||||
url += "jsonlgrue12/"
|
||||
# url += "jsonlgrue2com/" <== commissariat.
|
||||
else:
|
||||
if self.include_all_of_belgium:
|
||||
url += "jsonruebelgique/findByValue?indexName=RUE&startResult=0&maxResult=30&value="
|
||||
|
@ -128,8 +129,8 @@ class ImioLiegeLisrue(BaseResource):
|
|||
}
|
||||
)
|
||||
elif (
|
||||
item.get("statutVO") is not None
|
||||
and item.get("statutVO").get("code") == 1
|
||||
(item.get("statutVO") is not None
|
||||
and item.get("statutVO").get("code") == 1) or "jsonlgrue12" in url
|
||||
):
|
||||
streets.append(
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue