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: