Removed a useless print
This commit is contained in:
parent
ea45572406
commit
1231c201b6
1
fetch.py
1
fetch.py
@ -49,7 +49,6 @@ def fetch(url='https://www.legifrance.gouv.fr/eli/arrete/2018/10/12/PRMD1824595A
|
||||
lst = []
|
||||
tmp = re.compile(".*zone.*").split(area["zone"]) # List of polygons
|
||||
del tmp[0]
|
||||
print(tmp)
|
||||
for polygon in tmp:
|
||||
lst.append(re.findall(".{0,35} ?:? ?.? ?: ?(\d{1,3}° \d{2}(?:'|′) \d{2},?\d{0,3}(?:\"|”|\'\') .) ?\/ ?(\d{1,3}° \d{2}(?:'|′|\'\') \d{2},?\d{0,3}(?:\"|”) .)", polygon))
|
||||
area["zone"] = []
|
||||
|
Loading…
Reference in New Issue
Block a user