mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-05 09:41:42 +02:00
Move database and config to /data
This commit is contained in:
@ -9,7 +9,7 @@ entry_table = "entries"
|
||||
index_label = "Id"
|
||||
|
||||
def open_db():
|
||||
conn = sqlite3.connect("test.db")
|
||||
conn = sqlite3.connect("data/test.db")
|
||||
conn.execute('PRAGMA encoding = "UTF-8";')
|
||||
return conn
|
||||
|
||||
|
Reference in New Issue
Block a user