diff options
author | dennis <d@ennis.no> | 2023-02-05 20:26:48 +0100 |
---|---|---|
committer | dennis <d@ennis.no> | 2023-02-05 20:26:48 +0100 |
commit | 8c2074b76e229f0fb4fd90a0834b376771e1cb94 (patch) | |
tree | 687593e8ace7c114f7a63179c7dfae2bb153c387 | |
parent | remove starting space (diff) | |
download | energyscripts-8c2074b76e229f0fb4fd90a0834b376771e1cb94.tar.gz |
remove extra whitespace
-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) |