We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bcb981 commit c043982Copy full SHA for c043982
empty_library/app.db
0 Bytes
scripts/cwa_db.py
@@ -236,6 +236,8 @@ def get_cwa_settings(self) -> dict:
236
if self.cur.fetchall() == []: # If settings table is empty, populates it with default values
237
self.cur.execute("INSERT INTO cwa_settings DEFAULT VALUES;")
238
self.con.commit()
239
+
240
+ self.cur.execute("SELECT * FROM cwa_settings")
241
headers = [header[0] for header in self.cur.description]
242
cwa_settings = [dict(zip(headers,row)) for row in self.cur.fetchall()][0]
243
0 commit comments