Properly separate line choices
This commit is contained in:
parent
a49f28839b
commit
9b0bbc66ea
2
setup.py
2
setup.py
@ -67,7 +67,7 @@ def get_lines(station_id: int) -> List[str]:
|
|||||||
results_displayed = 0
|
results_displayed = 0
|
||||||
for ptr in range(len(results)):
|
for ptr in range(len(results)):
|
||||||
if ptr % 20 == 0 or ptr == len(results) - 1 and ptr != 0:
|
if ptr % 20 == 0 or ptr == len(results) - 1 and ptr != 0:
|
||||||
choices += input("Please input your choices as a space-separated list (e.g. '0 2 7 15'):\n")
|
choices += input("Please input your choices as a space-separated list (e.g. '0 2 7 15'):\n") + ' '
|
||||||
print(str(ptr) + ". " + results[ptr]['name'])
|
print(str(ptr) + ". " + results[ptr]['name'])
|
||||||
else:
|
else:
|
||||||
for ptr in range(len(results)):
|
for ptr in range(len(results)):
|
||||||
|
Loading…
Reference in New Issue
Block a user