black
All checks were successful
dl / lint (push) Successful in 1m21s
dl / docker (push) Successful in 38s

This commit is contained in:
Michel Roux 2023-09-10 17:58:15 +02:00
parent 5cf069eedc
commit 45fa0b993d

View File

@ -58,20 +58,26 @@ for xcz in xczs:
id = id[0:-3] id = id[0:-3]
subprocess.run( subprocess.run(
["rclone", "copy", "-P", f"{remote}:\"xcz/{xcz}\"", "xcz/"], ["rclone", "copy", "-P", f'{remote}:"xcz/{xcz}"', "xcz/"],
stdout=sys.stdout, stdout=sys.stdout,
) )
for dlc in dlcs: for dlc in dlcs:
if id in dlc: if id in dlc:
subprocess.run( subprocess.run(
["rclone", "copy", "-P", f"{remote}:\"nsz/dlc/{dlc}\"", "nsz/dlc/"], ["rclone", "copy", "-P", f'{remote}:"nsz/dlc/{dlc}"', "nsz/dlc/"],
stdout=sys.stdout, stdout=sys.stdout,
) )
for update in updates: for update in updates:
if id in update: if id in update:
subprocess.run( subprocess.run(
["rclone", "copy", "-P", f"{remote}:\"nsz/updates/{dlc}\"", "nsz/updates/"], [
"rclone",
"copy",
"-P",
f'{remote}:"nsz/updates/{dlc}"',
"nsz/updates/",
],
stdout=sys.stdout, stdout=sys.stdout,
) )