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 42201c8 commit 34213d3Copy full SHA for 34213d3
database/database.py
@@ -33,6 +33,7 @@ def __init__(self):
33
self.logger.error("An error has occurred while creating the database!")
34
35
self.connection = sqlite3.connect(database_path)
36
+ self.connection.row_factory = sqlite3.Row
37
self.connection.text_factory = lambda x: str(x, 'utf-8', "ignore")
38
self.cursor = self.connection.cursor()
39
0 commit comments