summaryrefslogtreecommitdiff
path: root/src/home/soundsensor/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/home/soundsensor/server.py')
-rw-r--r--src/home/soundsensor/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/soundsensor/server.py b/src/home/soundsensor/server.py
index 3e4fa03..4b14bd0 100644
--- a/src/home/soundsensor/server.py
+++ b/src/home/soundsensor/server.py
@@ -45,7 +45,7 @@ class Database(SQLiteBase):
cursor = self.cursor()
if version < 1:
- cursor.execute("CREATE TABLE IF NOT EXISTS status (guard_enabled) INTEGER NOT NULL")
+ cursor.execute("CREATE TABLE IF NOT EXISTS status (guard_enabled INTEGER NOT NULL)")
cursor.execute("INSERT INTO status (guard_enabled) VALUES (-1)")
self.commit()