Merge pull request #1288 from s-i-newton/testing

Typo in Aka readme and unused variable in Karma
This commit is contained in:
Valentin Lorentz 2017-05-04 20:49:31 +02:00 committed by GitHub
commit 060e1506d8
2 changed files with 1 additions and 2 deletions

View File

@ -66,7 +66,7 @@ their most recently played item.
This `lastfm` aka requires the following plugins to be loaded: `RSS`,
`Format` and `Web`.
`RSS` provides `rss`, `Format provides `concat` and `Web` provides
`RSS` provides `rss`, `Format` provides `concat` and `Web` provides
`urlquote`.
Note that if the nested commands being aliased hadn't been quoted, then

View File

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