mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 13:01:06 -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:
|
if begin_at == end_at:
|
||||||
results.append([channel, 'is set forever'])
|
results.append([channel, 'is set forever'])
|
||||||
else:
|
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
|
remaining = end_at - current
|
||||||
if remaining >= 0:
|
if remaining >= 0:
|
||||||
s += ' with %s more,' % utils.timeElapsed(remaining)
|
s += ' with %s more,' % utils.timeElapsed(remaining)
|
||||||
@ -412,7 +412,7 @@ class Ircd(object):
|
|||||||
if end_at != begin_at:
|
if end_at != begin_at:
|
||||||
s += ', initially for %s' % utils.timeElapsed(end_at-begin_at)
|
s += ', initially for %s' % utils.timeElapsed(end_at-begin_at)
|
||||||
s += ', removed by %s' % removed_by
|
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,))
|
c.execute("""SELECT oper,comment FROM comments WHERE ban_id=?""", (uid,))
|
||||||
L = c.fetchall()
|
L = c.fetchall()
|
||||||
if len(L):
|
if len(L):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user