From 44f526c3e86462692a83a780cc4dd6e7b322220e Mon Sep 17 00:00:00 2001 From: James Dansereau <106631954+jkdansereau@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:23:44 -0400 Subject: [PATCH] eep_convert.py: no nested same-quote f-string (Python < 3.12 SyntaxError; ships in the bundles) --- tools_pc/eep_convert.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools_pc/eep_convert.py b/tools_pc/eep_convert.py index e7c309f8..da4a3b6d 100644 --- a/tools_pc/eep_convert.py +++ b/tools_pc/eep_convert.py @@ -233,7 +233,8 @@ def main(): if not any(ok for _, ok in done): # Nothing validates as the claimed source: wrong direction, an # already-converted file, or not a GoldenEye save. Write nothing. - print(f"error: {a.INFILE} does not validate as {"an" if src_label == "n64" else "a"} {src_label} save; " + article = "an" if src_label == "n64" else "a" # no nested quotes: Python < 3.12 + print(f"error: {a.INFILE} does not validate as {article} {src_label} save; " f"nothing written. Run 'eep_convert.py verify {a.INFILE}' to " f"see which format it is.", file=sys.stderr) sys.exit(1)