From fec4f2ae247742f1d751fd67542f9e779a9cc72d Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Thu, 21 Mar 2019 14:02:40 +0300 Subject: [PATCH] Fix a bug in patchport --- patchport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patchport.py b/patchport.py index f0dd558..51ba5e2 100644 --- a/patchport.py +++ b/patchport.py @@ -119,7 +119,8 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")): with open(out_path, "w") as f: f.write(patch_contents) - print(f"PORTED: {patch} was successfully ported.") + if not out_path.endswith("-failed"): + print(f"PORTED: {patch} was successfully ported.") if failures: print(f"Port complete. Following patches failed: {', '.join(failures)}")