From 4924da6ce5b3a5aae3ad96db4c3afb2116ff5a18 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Sat, 31 Mar 2018 19:43:50 +0900 Subject: [PATCH] - config directory is one up. --- helpers/contributor_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/contributor_helper.py b/helpers/contributor_helper.py index 4a1a49a..63b1fe4 100644 --- a/helpers/contributor_helper.py +++ b/helpers/contributor_helper.py @@ -23,7 +23,7 @@ class Contributor_helper: db=cfg.getint('RedisLog', 'db')) self.cfg = cfg self.cfg_org_rank = configparser.ConfigParser() - self.cfg_org_rank.read(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'config/ranking.cfg')) + self.cfg_org_rank.read(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../config/ranking.cfg')) self.CHANNEL_LASTAWARDS = cfg.get('RedisLog', 'channelLastAwards') self.CHANNEL_LASTCONTRIB = cfg.get('RedisLog', 'channelLastContributor') self.users_helper = users_helper.Users_helper(serv_redis_db, cfg)