diff --git a/bots_api/bot_lib.py b/bots_api/bot_lib.py index 8fde0ac..51dc7bb 100644 --- a/bots_api/bot_lib.py +++ b/bots_api/bot_lib.py @@ -102,7 +102,7 @@ class BotHandlerApi(object): our_dir, '..', 'bots', bot_name, bot_name + '.conf')) section = section or bot_name config = configparser.ConfigParser() - config.readfp(open(conf_file_path)) + config.readfp(open(conf_file_path)) # type: ignore return dict(config.items(section))