From fba9d80dc301f90d57f4236dfdc36b30e6f4ab7a Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 2 Oct 2023 10:23:06 +0200 Subject: [PATCH] revert --- commands/tinfoil.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/tinfoil.py b/commands/tinfoil.py index 49227d3..3cebbf8 100755 --- a/commands/tinfoil.py +++ b/commands/tinfoil.py @@ -25,7 +25,7 @@ def drive_list(path): return proc.stdout.decode().split("\n") -def download(path, file, force=False): +def download(path, file): if not force and os.path.isfile(os.path.join(path, file)): return @@ -40,7 +40,7 @@ def download(path, file, force=False): # os.remove(f"{path}/{file}") print("Waiting for 10 minutes ...") time.sleep(10 * 60) - download(path, file, True) + download(path, file) req_titles = requests.get( @@ -114,12 +114,12 @@ for base in bases: if not id: continue - download("nsz/base", base, force) + download("nsz/base", base) for dlc in dlcs: if id in dlc: - download("nsz/dlc", dlc, force) + download("nsz/dlc", dlc) for update in updates: if id in update: - download("nsz/updates", update, force) + download("nsz/updates", update)