diff --git a/secretlounge_ng/database.py b/secretlounge_ng/database.py index 544d2f9..2e82b35 100644 --- a/secretlounge_ng/database.py +++ b/secretlounge_ng/database.py @@ -393,4 +393,5 @@ def setSystemConfig(self, config): sql = "REPLACE INTO system_config(`name`, `value`) VALUES (?, ?)" with self.lock: for k, v in d.items(): - self.db.execute(sql, (k, v)) + if v is not None: + self.db.execute(sql, (k, v))