We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8be06 commit b097974Copy full SHA for b097974
mamonsu/lib/config.py
@@ -74,7 +74,7 @@ def __init__(self, cfg_file=None, plugin_directories=[]):
74
sys.exit(1)
75
else:
76
if cfg_file is not None:
77
- self.config.read(cfg_file)
+ self.config.readfp(open(cfg_file))
78
79
plugins = self.fetch('plugins', 'directory', str)
80
if not plugins == 'None':
0 commit comments