Update main.py

This commit is contained in:
Remy Moll 2020-06-03 19:56:18 +02:00
parent 3558b4f427
commit 85c872d6e0

View File

@ -355,7 +355,7 @@ class ChatBot():
text += "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 += "Walk."
text += "\n"
self.send_message(text)
except: