fix: use cursor() and not cursor
This commit is contained in:
parent
edb1756c69
commit
8c6a3400f6
@ -19,7 +19,7 @@ class Database:
|
|||||||
user = user,
|
user = user,
|
||||||
password = password,
|
password = password,
|
||||||
)
|
)
|
||||||
self.cursor = self.mydb.cursor
|
self.cursor = self.mydb.cursor()
|
||||||
|
|
||||||
def _create_table(self, name: str, content: dict):
|
def _create_table(self, name: str, content: dict):
|
||||||
command: str = f"CREATE TABLE {name} ("
|
command: str = f"CREATE TABLE {name} ("
|
||||||
|
Loading…
Reference in New Issue
Block a user