mirror of https://gitlab.com/bashrc2/epicyon
Avoid lookups if not needed
parent
d60aad0659
commit
19a420f758
|
@ -5419,6 +5419,7 @@ def htmlNewswire(newswire: str, nickname: str, moderator: bool,
|
||||||
moderatedItem = False
|
moderatedItem = False
|
||||||
if moderator:
|
if moderator:
|
||||||
moderatedItem = item[5]
|
moderatedItem = item[5]
|
||||||
|
if moderatedItem:
|
||||||
totalVotes = votesOnNewswireItem(item[2])
|
totalVotes = votesOnNewswireItem(item[2])
|
||||||
# show a number of ticks or crosses for how many
|
# show a number of ticks or crosses for how many
|
||||||
# votes for or against
|
# votes for or against
|
||||||
|
|
Loading…
Reference in New Issue