summaryrefslogtreecommitdiff
path: root/sql.py
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-02-03 18:12:15 +0000
committerroot <root@turin.home>2022-02-03 18:12:15 +0000
commit57f8aeeed6b5cd00910ceba5bc6bef4cbeb32b57 (patch)
treea77e063be0393aa12e3390a176ccedbae5e4625f /sql.py
parentc35f2c11bf87629dc457f62bde6b2c2e83c431fa (diff)
Changes from previous commit, fixing differently.
Diffstat (limited to 'sql.py')
-rw-r--r--sql.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql.py b/sql.py
index 7d14a06..599488f 100644
--- a/sql.py
+++ b/sql.py
@@ -19,9 +19,9 @@ class db:
con = sqlite3.connect(self.dbfile)
cur = con.cursor()
if param == None:
- o = cur.execute(cmd)
+ cur.execute(cmd)
else:
- o = cur.execute(cmd, param)
+ cur.execute(cmd, param)
con.commit()
con.close()
return o