We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3effaee commit eda9a3dCopy full SHA for eda9a3d
1 file changed
lib/utils/api.py
@@ -71,6 +71,8 @@ class Database(object):
71
72
def __init__(self, database=None):
73
self.database = self.filepath if database is None else database
74
+ self.connection = None
75
+ self.cursor = None
76
77
def connect(self, who="server"):
78
self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None)
0 commit comments