From 46ac15a055f72a78e39929143feed9731e0c29e3 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 6 Feb 2019 01:55:28 +0300 Subject: [PATCH] patchport: don't warn when skipping instructional patches --- patchport.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/patchport.py b/patchport.py index 803d03a..f4b5dbf 100644 --- a/patchport.py +++ b/patchport.py @@ -63,7 +63,9 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")): # Check if patch exists for from_version, if it doesn't, warn user if not os.path.isfile(patch_path): - print(f"SKIPPED: No {from_versionname} version found for {patch}.") + # Don't warn on instructional patches + if patch not in ["customfont", "customring"]: + print(f"SKIPPED: No {from_versionname} version found for {patch}.") continue # Get a modified version of the patch @@ -118,4 +120,4 @@ else: f.write(ctcr_text) print("Port complete. All patches completed successfully. " - "README was updated.") + "README.md was updated.")