From 457d83cc24bea2636698129fbcc9d4fbe970544f Mon Sep 17 00:00:00 2001 From: Arjan <44190435+vingerha@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:43:54 +0100 Subject: [PATCH] Small bugfix --- custom_components/gtfs2/gtfs_rt_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/gtfs2/gtfs_rt_helper.py b/custom_components/gtfs2/gtfs_rt_helper.py index f000334..f71a830 100644 --- a/custom_components/gtfs2/gtfs_rt_helper.py +++ b/custom_components/gtfs2/gtfs_rt_helper.py @@ -401,7 +401,7 @@ def get_rt_vehicle_positions(self): self.geojson = {"features": geojson_body, "type": "FeatureCollection"} _LOGGER.debug("GTFS RT geojson: %s", json.dumps(self.geojson)) - self._route_dir = self._route_id + "_" + self._direction + self._route_dir = str(self._route_id) + "_" + str(self._direction) update_geojson(self) return geojson_body