Added parentheses for delay
The delay is directly calculated in the departure time, so the delay is now given in parentheses to make that clear
This commit is contained in:
parent
7ee9e2a9f1
commit
1077d9acc4
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -121,7 +121,7 @@ def get_vvs_departures(query):
|
||||||
reply.append(
|
reply.append(
|
||||||
"Line " + station['number'] + " to \"" + station['direction'] + "\" at "
|
"Line " + station['number'] + " to \"" + station['direction'] + "\" at "
|
||||||
+ station['departureTime']['hour'].zfill(2) + ':' + station['departureTime']['minute'].zfill(2)
|
+ station['departureTime']['hour'].zfill(2) + ':' + station['departureTime']['minute'].zfill(2)
|
||||||
+ " +" + str(station['delay']))
|
+ " (+" + str(station['delay']) + ")")
|
||||||
printed_departures += 1
|
printed_departures += 1
|
||||||
if printed_departures >= query.departure_count:
|
if printed_departures >= query.departure_count:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue