Use config in jogobot.py

Set configparser.interpolation to none to prevent parsing timestamps
This commit is contained in:
2016-02-25 13:48:38 +01:00
parent 027d7d1543
commit b0c844b2de
2 changed files with 9 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ import configparser
import pywikibot
config = configparser.ConfigParser()
config = configparser.ConfigParser(interpolation=None)
config.read(pywikibot.config.get_base_dir() + "/jogobot.conf")
# Make jogobot entrys available in root level (without sections)