From a62ac36f62784313d1e5e23bae043f4e8c6f9f14 Mon Sep 17 00:00:00 2001 From: Krytarik Raido Date: Sat, 12 Mar 2022 03:34:04 +0100 Subject: [PATCH] Fix textual regression from previous commit. --- plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 25a9f9a..d16d21d 100644 --- a/plugin.py +++ b/plugin.py @@ -397,7 +397,7 @@ class Ircd(object): if begin_at == end_at: results.append([channel, 'is set forever']) else: - s = 'set for %s, ' % utils.timeElapsed(end_at-begin_at) + s = 'set for %s,' % utils.timeElapsed(end_at-begin_at) remaining = end_at - current if remaining >= 0: s += ' with %s more,' % utils.timeElapsed(remaining) @@ -412,7 +412,7 @@ class Ircd(object): if end_at != begin_at: s += ', initially for %s' % utils.timeElapsed(end_at-begin_at) s += ', removed by %s' % removed_by - results.append([channel,s]) + results.append([channel, s]) c.execute("""SELECT oper,comment FROM comments WHERE ban_id=?""", (uid,)) L = c.fetchall() if len(L):