diff options
Diffstat (limited to 'portato/db')
-rw-r--r-- | portato/db/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/sql.py b/portato/db/sql.py index c248c9a..f3b93f0 100644 --- a/portato/db/sql.py +++ b/portato/db/sql.py @@ -45,7 +45,7 @@ class SQLDatabase (Database): updateFormat = False if "format" not in session or session["format"] != self.FORMAT: - debug("Need to update database format from '%s' to '%s'", session["format"], self.FORMAT) + debug("Need to update database format from '%s' to '%s'", session.get("format", "undefined"), self.FORMAT) session["format"] = self.FORMAT updateFormat = True |