Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mola19 committed Jan 2, 2024
1 parent 7018c12 commit ca93499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions park_api/cities/Jena.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ def parse_html(lot_vacancy_xml):
and _lot.parkingFacilityReference.attrs["id"] == lot["general"]["name"]
]

id = lot["general"]["name"].lower().replace(" ", "-").replace("ä", "ae").replace("ö", "oe").replace("ü", "ue").replace("ß", "ss")
lot_id = lot["general"]["name"].lower().replace(" ", "-").replace("ä", "ae").replace("ö", "oe").replace("ü", "ue").replace("ß", "ss")

lot_info = {
"id": lot["general"]["name"],
"id": lot_id,
"name": lot["general"]["name"],
"url": "https://mobilitaet.jena.de/de/" + id,
"url": "https://mobilitaet.jena.de/de/" + lot_id,
"address": lot["details"]["parkingPlaceAddress"]["parkingPlaceAddress"],
"coords": lot["general"]["coordinates"],
"state": get_status(lot),
Expand Down

0 comments on commit ca93499

Please sign in to comment.