fix list cli

This commit is contained in:
Mylloon 2023-04-03 03:03:32 +02:00
parent 9cd23f13b5
commit 62a42ecebc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ if __name__ == "__main__":
while c_id == []:
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:
if (i > len(c.cheats_list) or i <= 0):
raise IndexError

View file

@ -25,7 +25,7 @@ IF errorlevel 1 (
python.exe -m pip install -r .\requirements.txt > NUL
:: Run app
python.exe .\main.py
python.exe .\main.py --list=1,2,3,4,5,7,8
)
EXIT /b