fix rates init
This commit is contained in:
1 parent
c522635c30
commit
096634269b
3 files changed
+2
-2
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ def initialize_db() -> None:
|
||||
# Use JSON string for array values
|
||||
cursor.execute(
|
||||
"INSERT OR REPLACE INTO settings (name, value) VALUES (?, ?)",
|
||||
("rate_options", json.dumps(["half_hour", "hour"])),
|
||||
("rate_options", "half_hour,hour"),
|
||||
)
|
||||
|
||||
conn.commit()
|
||||
|
||||
Reference in new issue
Block a user