diff options
Diffstat (limited to 'todb.py')
-rw-r--r-- | todb.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,8 +13,10 @@ def todb(sql, values): if type(values) == list: cur = conn.cursor() cur.executemany(sql, values) + return cur.rowcount elif type(values) == tuple: conn.execute(sql, values) + return 1 else: print("OH SHIT") exit() |