Browse Source

patchport: Look out for "can't find file to patch"

master
Ave 2 months ago
parent
commit
69700dacaf
  1. 2
      patchport.py

2
patchport.py

@ -201,7 +201,7 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")):
capture_output=True)
# Check for issues
if "FAILED" in out.stdout:
if "FAILED" in out.stdout or "can't find file to patch" in out.stdout:
print(f"FAILED: {patch} failed, please fix by hand.")
failures.append(patch)
out_path += "-failed"

Loading…
Cancel
Save