From df953b50623043a2f126e2fab9bd90a14e6cb2b0 Mon Sep 17 00:00:00 2001 From: Ruan Shannon Date: Sun, 22 Nov 2026 03:21:11 -0800 Subject: [PATCH] installer/recent.py: raw docstring, so its Windows path no longer holds an invalid escape The docstring names %LOCALAPPDATA%\TotK Recomp\setup.json; "\T" is an invalid escape sequence, which Python 3.14 (the setup's bundled Python) reports as a SyntaxWarning every time the module is compiled, and which a later Python turns into a SyntaxError that would stop the setup from starting. A raw docstring keeps the text as written. Co-Authored-By: Claude Opus 5.5 --- installer/recent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/recent.py b/installer/recent.py index 5ebe75cd..375ee906 100644 --- a/installer/recent.py +++ b/installer/recent.py @@ -1,4 +1,4 @@ -"""The last install folder and source paths, in a per-user file, so an update, a reinstall or a switch to another game +r"""The last install folder and source paths, in a per-user file, so an update, a reinstall or a switch to another game version starts with the form filled in. {"format": 1, "dest": ..., "base": ..., "update": ..., "keys": ..., "firmware": ...}