From 7371ef007c5a5bc9cd795c910e2ade547e17edbe Mon Sep 17 00:00:00 2001 From: Remy Moll <36770313+L0rd0fB0red0m@users.noreply.github.com> Date: Sun, 24 May 2020 15:31:04 +0200 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9c16839..59e0ad7 100644 --- a/main.py +++ b/main.py @@ -352,10 +352,10 @@ class ChatBot(): for step in con["sections"]: if step["journey"] != None: text += step["journey"]["passList"][0]["station"]["name"] + " (" + datetime.datetime.fromtimestamp(int(step["journey"]["passList"][0]["departureTimestamp"])).strftime("%H:%M") + ")\n" - text += "L. " + step["journey"]["number"] + " :right_arrow: \n" + text += ":right_arrow: L. " + step["journey"]["number"] + " :right_arrow: \n" text += step["journey"]["passList"][-1]["station"]["name"] + " (" + datetime.datetime.fromtimestamp(int(step["journey"]["passList"][-1]["arrivalTimestamp"])).strftime("%H:%M") +")\n" else: - text += "Api says walking is fastest." + text += On foot. \n" text += "\n" self.send_message(text) except: