Fix python mistakes
This commit is contained in:
parent
fba9d80dc3
commit
e0f4c4f654
@ -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,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user