mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fix ranking display.
This commit is contained in:
parent
72edc74fbd
commit
09eecf5a4e
@ -127,7 +127,7 @@ class SqliteKarmaDB(object):
|
||||
cursor.execute("""SELECT COUNT(*) FROM karma
|
||||
WHERE added-subtracted > %s""", karma)
|
||||
rank = int(cursor.fetchone()[0])
|
||||
return rank
|
||||
return rank+1
|
||||
|
||||
def size(self, channel):
|
||||
db = self._getDb(channel)
|
||||
|
Loading…
Reference in New Issue
Block a user