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:
|
if page:
|
||||||
print("Paging in batches of 20 results.")
|
print("Paging in batches of 20 results.")
|
||||||
for ptr in range(len(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:
|
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'])
|
|
||||||
else:
|
else:
|
||||||
for ptr in range(len(results)):
|
for ptr in range(len(results)):
|
||||||
print(str(ptr) + ". " + results[ptr]['name'])
|
print(str(ptr) + ". " + results[ptr]['name'])
|
||||||
|
Loading…
Reference in New Issue
Block a user