diff --git a/bots_api/bot_lib.py b/bots_api/bot_lib.py
index 8fde0ac1..51dc7bb6 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))