Update main.py
This commit is contained in:
		
							
								
								
									
										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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Remy Moll
					Remy Moll