diff options
Diffstat (limited to 'scripts/queue_runner.py')
-rw-r--r-- | scripts/queue_runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/queue_runner.py b/scripts/queue_runner.py index 62467b5..fad223d 100644 --- a/scripts/queue_runner.py +++ b/scripts/queue_runner.py @@ -63,7 +63,7 @@ while True: for msgid in msgids: q.done(msgid) - table = sql.split(' ')[2] + table = sql.split(' ')[2].strip() num = 1 if isinstance(values, tuple) else len(values) left = str(q.qsize()) + " items left in queue" if q.qsize() > 0 else '' print("Processed", num, "item(s) for table", table + ".", left) |