minor - from 'from'
This commit is contained in:
parent
413c1ca49e
commit
88709f7bcf
|
@ -53,7 +53,7 @@ def getBuses(frm, to):
|
||||||
toArr = stopListTo.split(",")
|
toArr = stopListTo.split(",")
|
||||||
toArr = [val.split("|")[0] for val in toArr]
|
toArr = [val.split("|")[0] for val in toArr]
|
||||||
intersectArr = [val for val in fromArr if val in toArr]
|
intersectArr = [val for val in fromArr if val in toArr]
|
||||||
fromToStr = "from " + frm[1] + " to " + to[1] + ": "
|
fromToStr = frm[1] + " to " + to[1] + ": "
|
||||||
# return ",".join(fromArr) + ",".join(toArr)
|
# return ",".join(fromArr) + ",".join(toArr)
|
||||||
if (len(intersectArr) == 0):
|
if (len(intersectArr) == 0):
|
||||||
return fromToStr + "no direct buses found."
|
return fromToStr + "no direct buses found."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user