summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:29:01 +0000
committerroot <root@turin.home>2022-01-30 15:29:01 +0000
commit683be900f49510ada6e266671766c7dde9896514 (patch)
tree321f505e9692835c7403493860500b1facaf2a60
parent626b6f978c9209b0d6d184ab7f7ef4b05a664b57 (diff)
Minor error
-rw-r--r--sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql.py b/sql.py
index d9704d6..91ae362 100644
--- a/sql.py
+++ b/sql.py
@@ -11,7 +11,7 @@ class db:
except FileNotFoundError:
self.setup()
- def exec(cmd, param=None):
+ def exec(self, cmd, param=None):
"""
A function to execute a database command without having to
create the cursor