vingerha / gtfs2

Support GTFS in Home Assistant GUI-only
https://github.com/vingerha/gtfs2
MIT License
65 stars 4 forks source link

Copy Paste / typo in code: testing twice the latitude ;) #73

Closed FabienD74 closed 1 month ago

FabienD74 commented 1 month ago

Seen in gtfs_helper.py ( if not latitude or not latitude:)

   radius = self._data.get("radius", DEFAULT_LOCAL_STOP_RADIUS) / 130000
    if not latitude or not latitude:
        _LOGGER.error("No latitude and/or longitude for : %s", self._data['device_tracker_id'])
        return []
    if include_tomorrow:
vingerha commented 1 month ago

Thanks ... applied and awaiting deployment somewhere soon