From 8c2074b76e229f0fb4fd90a0834b376771e1cb94 Mon Sep 17 00:00:00 2001 From: dennis Date: Sun, 5 Feb 2023 20:26:48 +0100 Subject: remove extra whitespace --- scripts/queue_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/queue_runner.py') 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) -- cgit v1.2.3