summaryrefslogtreecommitdiff
path: root/bin/nvm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nvm')
-rwxr-xr-xbin/nvm2
1 files changed, 2 insertions, 0 deletions
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"],