mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 04:51:07 -05:00
Fix textual regression from previous commit.
This commit is contained in:
parent
065d698b31
commit
a62ac36f62
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user