Adapt for Google Cloud Deployment

This commit is contained in:
2021-08-20 15:47:03 +02:00
parent 080648d587
commit 9ab1e9b841
5 changed files with 38 additions and 2 deletions

View File

@ -10,7 +10,7 @@ index_label = "Id"
done_table = "done_songs"
def open_db():
conn = sqlite3.connect("data/test.db")
conn = sqlite3.connect("/tmp/karaoqueue.db")
conn.execute('PRAGMA encoding = "UTF-8";')
return conn