mod db row_factory
This commit is contained in:
parent
e9b9193acf
commit
e78ecede2d
1 changed files with 1 additions and 0 deletions
|
@ -3,4 +3,5 @@ import sqlite3
|
||||||
|
|
||||||
def get_connection():
|
def get_connection():
|
||||||
conn = sqlite3.connect(".data/jukebox.db")
|
conn = sqlite3.connect(".data/jukebox.db")
|
||||||
|
conn.row_factory = sqlite3.Row
|
||||||
return conn
|
return conn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue