Fix python mistakes
All checks were successful
dl / lint (push) Successful in 1m19s
dl / docker (push) Successful in 3m11s

This commit is contained in:
Michel Roux 2023-10-02 10:45:12 +02:00
parent fba9d80dc3
commit e0f4c4f654

View File

@ -66,7 +66,7 @@ def get_title_shortid(name):
re_id = re.search(r"\[([0-9A-F]*)\]", name) re_id = re.search(r"\[([0-9A-F]*)\]", name)
if not re_id: if not re_id:
continue return
id = re_id.group(1) id = re_id.group(1)
@ -101,7 +101,7 @@ remove("nsz/updates")
try: try:
subprocess.run( subprocess.run(
["rclone", "sync", "-P", "-v", f"{remote}:nsz/homebrew", f"nsz/homebrew/"], ["rclone", "sync", "-P", "-v", f"{remote}:nsz/homebrew", "nsz/homebrew/"],
check=True, check=True,
stdout=sys.stdout, stdout=sys.stdout,
) )