Remove python 3.9 features

This commit is contained in:
Marcel Schwarz 2020-12-20 16:54:19 +01:00
parent c718c7abfe
commit 100eb416af

View File

@ -26,7 +26,7 @@ class Bikepoint(BaseModel):
def bikepoint_mapper(bikepoint):
mapped_point = {
"id": bikepoint['id'].removeprefix("BikePoints_"),
"id": bikepoint['id'][11:],
"url": bikepoint['url'],
"commonName": bikepoint['commonName'],
"lat": bikepoint['lat'],