From c8e524c6d31ab8ae8eb12dc595f3ecca20445920 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 11 Jul 2021 11:45:54 +0200 Subject: map link: highlight requested stop --- bin/nvm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/nvm') diff --git a/bin/nvm b/bin/nvm index e6c973a..6bb82b3 100755 --- a/bin/nvm +++ b/bin/nvm @@ -154,6 +154,8 @@ class Departure: self.stop_name = obj.get("stop", dict()).get("name", None) self.station_name = obj.get("station", dict()).get("name", self.stop_name) + self.quoted_stop_name = aiohttp.helpers.quote(self.stop_name) + try: self.location = ( obj["stop"]["location"]["longitude"], -- cgit v1.2.3