summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:30:15 +0000
committerroot <root@turin.home>2022-01-30 15:30:15 +0000
commit31326f43d9c05f826373a51dd011bd425bc66ef5 (patch)
treea0a283fad22ad0d9b9577a05b1050e767ff6b4c3
parent683be900f49510ada6e266671766c7dde9896514 (diff)
Minor error
-rw-r--r--sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql.py b/sql.py
index 91ae362..38d40e1 100644
--- a/sql.py
+++ b/sql.py
@@ -17,7 +17,7 @@ class db:
create the cursor
"""
con = sqlite3.connect(self.dbfile)
- cur = con.cursor
+ cur = con.cursor()
if param == None:
cur.execute(cmd)
else: