yeah that wasn't it
This commit is contained in:
parent
8e6a359396
commit
081b23e702
2
setup.py
2
setup.py
@ -65,9 +65,9 @@ def get_lines(station_id: int) -> List[str]:
|
||||
if page:
|
||||
print("Paging in batches of 20 results.")
|
||||
for ptr in range(len(results)):
|
||||
print(str(ptr) + ". " + results[ptr]['name'])
|
||||
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") + ' '
|
||||
print(str(ptr) + ". " + results[ptr]['name'])
|
||||
else:
|
||||
for ptr in range(len(results)):
|
||||
print(str(ptr) + ". " + results[ptr]['name'])
|
||||
|
Loading…
Reference in New Issue
Block a user