Small change

This commit is contained in:
Profitroll 2022-09-24 12:08:32 +02:00
parent deb49e174b
commit 0bbda88433

View File

@ -3,6 +3,7 @@ from isodate import parse_duration
class Gis(): class Gis():
def __init__(self, ref: str, route: dict): def __init__(self, ref: str, route: dict):
self.ref = ref self.ref = ref
self.dist = route["dist"] self.dist = route["dist"]
self.duration = parse_duration(route["durS"]) self.duration = parse_duration(route["durS"])