aboutsummaryrefslogtreecommitdiffstats
path: root/common/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/queue.py')
-rw-r--r--common/queue.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/queue.py b/common/queue.py
index abdfb96..e567fb4 100644
--- a/common/queue.py
+++ b/common/queue.py
@@ -16,5 +16,7 @@ def dbi(sql,values,**kwargs):
q.put(pickle.dumps([sql, values]))
if verbose is True:
- print("Inserted into queue")
+ table = sql.split(' ')[2]
+ num = 1 if isinstance(values, tuple) else len(values)
+ print("Inserted", num, "item(s) into queue for", table)
return True