Skip to content

Commit cc40ac4

Browse files
Merge pull request steam-bell-92#1810 from tmdeveloper007/steam-bell-92#1805
fix : add sqlite3.Row row_factory to db_manager get_connection
2 parents 7ab802a + fce36b0 commit cc40ac4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

utils/db_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
def get_connection():
1010
"""Returns a connection to the SQLite database."""
1111
conn = sqlite3.connect(DB_PATH)
12+
conn.row_factory = sqlite3.Row
1213
return conn
1314

1415
def init_db():

0 commit comments

Comments
 (0)