fix list cli
This commit is contained in:
parent
9cd23f13b5
commit
62a42ecebc
2 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -30,7 +30,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
while c_id == []:
|
while c_id == []:
|
||||||
try:
|
try:
|
||||||
response = [int(i) for i in input("Enter ID: ").split(" ")]
|
response = [int(i - 1) for i in input("Enter ID: ").split(" ")]
|
||||||
for i in response:
|
for i in response:
|
||||||
if (i > len(c.cheats_list) or i <= 0):
|
if (i > len(c.cheats_list) or i <= 0):
|
||||||
raise IndexError
|
raise IndexError
|
||||||
|
|
2
run.bat
2
run.bat
|
@ -25,7 +25,7 @@ IF errorlevel 1 (
|
||||||
python.exe -m pip install -r .\requirements.txt > NUL
|
python.exe -m pip install -r .\requirements.txt > NUL
|
||||||
|
|
||||||
:: Run app
|
:: Run app
|
||||||
python.exe .\main.py
|
python.exe .\main.py --list=1,2,3,4,5,7,8
|
||||||
)
|
)
|
||||||
|
|
||||||
EXIT /b
|
EXIT /b
|
||||||
|
|
Reference in a new issue