diff --git a/nvchecker/core.py b/nvchecker/core.py index 24f31ab..1574dc1 100644 --- a/nvchecker/core.py +++ b/nvchecker/core.py @@ -198,7 +198,7 @@ class KeyManager: def __init__(self, file): self.config = config = configparser.ConfigParser(dict_type=dict) if file is not None: - config.read_file(file) + config.read([file]) def get_key(self, name): return self.config.get('keys', name)