summaryrefslogtreecommitdiff
path: root/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'sql.py')
-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