fix issue with spaces
Some checks failed
dl / lint (push) Failing after 1m16s
dl / docker (push) Has been skipped

This commit is contained in:
Michel Roux 2023-09-10 17:55:06 +02:00
parent 7062d36fb9
commit 5cf069eedc

View File

@ -58,20 +58,20 @@ 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,
) )