From 69700dacafd9b3b6df9456f56dd1bc069f65da2e Mon Sep 17 00:00:00 2001 From: Ave Date: Sun, 21 Feb 2021 22:43:49 +0300 Subject: [PATCH] patchport: Look out for "can't find file to patch" --- patchport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchport.py b/patchport.py index e7bb5ab..4c31b34 100644 --- a/patchport.py +++ b/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"