From bd0d615b2ae396b819fc2eeee619958f6a933f35 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Tue, 8 Jul 2025 15:44:02 +1200 Subject: [PATCH] Fix raw string --- sbysrc/sby_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbysrc/sby_status.py b/sbysrc/sby_status.py index b693cea..8807086 100644 --- a/sbysrc/sby_status.py +++ b/sbysrc/sby_status.py @@ -69,7 +69,7 @@ def transaction(method: Fn) -> Fn: self.log_debug(f"failed {method.__name__!r} transaction {err}") if not isinstance(err, sqlite3.OperationalError): raise - if re.match("table \w+ has no column named \w+", err.args[0]): + if re.match(r"table \w+ has no column named \w+", err.args[0]): err.add_note("SBY status database can be reset with --statusreset") raise else: