fixed an english grammar blunder

This commit is contained in:
Jimmy Cao 2011-07-16 00:01:17 -05:00
parent f0a732e8c5
commit 01523edac3

View File

@ -325,7 +325,7 @@ def stats(cli, nick, chan, rest):
return return
message = [] message = []
f = False f = False # set to true after the is/are verb is decided
l1 = [k for k in var.ROLES.keys() l1 = [k for k in var.ROLES.keys()
if var.ROLES[k]] if var.ROLES[k]]
l2 = [k for k in var.ORIGINAL_ROLES.keys() l2 = [k for k in var.ORIGINAL_ROLES.keys()
@ -335,8 +335,9 @@ def stats(cli, nick, chan, rest):
if not f and count>1: if not f and count>1:
vb = "are" vb = "are"
f = True f = True
else: elif not f:
vb = "is" vb = "is"
f = True
if count > 1: if count > 1:
message.append("\u0002{0}\u0002 {1}".format(count, var.plural(role))) message.append("\u0002{0}\u0002 {1}".format(count, var.plural(role)))
else: else: