From 6e00ed4e4292bb0199f16d62b40ece15fe09f040 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 3 Apr 2023 03:05:26 +0200 Subject: [PATCH] Revert "fix list cli" This reverts commit 62a42ecebc6427965d81680a9287c4fd630d2a59. --- main.py | 2 +- run.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 8de9fe5..2e9df22 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ if __name__ == "__main__": while c_id == []: try: - response = [int(i - 1) for i in input("Enter ID: ").split(" ")] + response = [int(i) for i in input("Enter ID: ").split(" ")] for i in response: if (i > len(c.cheats_list) or i <= 0): raise IndexError diff --git a/run.bat b/run.bat index 4ec9bf5..68378df 100644 --- a/run.bat +++ b/run.bat @@ -25,7 +25,7 @@ IF errorlevel 1 ( python.exe -m pip install -r .\requirements.txt > NUL :: Run app - python.exe .\main.py --list=1,2,3,4,5,7,8 + python.exe .\main.py ) EXIT /b