fix: parsing into float instead of int

pull/15/head
Sami Mokaddem 2017-12-01 15:49:20 +01:00
parent 849d8cc8eb
commit b1bbb8efc3
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Contributor_helper:
self.DICO_PNTS_REWARD[categ] = self.default_pnts_per_contribution
self.rankMultiplier = self.cfg_org_rank.getfloat('monthlyRanking' ,'rankMultiplier')
self.levelMax = self.cfg_org_rank.getfloat('monthlyRanking' ,'levelMax')
self.levelMax = self.cfg_org_rank.getint('monthlyRanking' ,'levelMax')
# REDIS KEYS
self.keyDay = KEYDAY