Update main.py
This commit is contained in:
parent
3558b4f427
commit
85c872d6e0
2
main.py
2
main.py
@ -355,7 +355,7 @@ class ChatBot():
|
|||||||
text += "L. " + step["journey"]["number"] + " :right_arrow: \n"
|
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"
|
text += step["journey"]["passList"][-1]["station"]["name"] + " (" + datetime.datetime.fromtimestamp(int(step["journey"]["passList"][-1]["arrivalTimestamp"])).strftime("%H:%M") +")\n"
|
||||||
else:
|
else:
|
||||||
text += "Api says walking is fastest."
|
text += "Walk."
|
||||||
text += "\n"
|
text += "\n"
|
||||||
self.send_message(text)
|
self.send_message(text)
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user