Karma: remove unused variable in karma command

This commit is contained in:
Marc Chevalier 2017-05-04 14:44:00 +02:00
parent 99b4a7289b
commit afbefc5f2b

View File

@ -338,7 +338,6 @@ class Karma(callbacks.Plugin):
'things.')) 'things.'))
else: # No name was given. Return the top/bottom N karmas. else: # No name was given. Return the top/bottom N karmas.
limit = self.registryValue('rankingDisplay', channel) limit = self.registryValue('rankingDisplay', channel)
top = self.db.top(channel, limit)
highest = [format('%q (%s)', s, t) highest = [format('%q (%s)', s, t)
for (s, t) in self.db.top(channel, limit)] for (s, t) in self.db.top(channel, limit)]
lowest = [format('%q (%s)', s, t) lowest = [format('%q (%s)', s, t)