From b1bbb8efc31fecf82b24580c38a7d8b00f93840f Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Fri, 1 Dec 2017 15:49:20 +0100 Subject: [PATCH] fix: parsing into float instead of int --- contributor_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributor_helper.py b/contributor_helper.py index 2b0cd24..0c9a510 100644 --- a/contributor_helper.py +++ b/contributor_helper.py @@ -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