Skip to content
Snippets Groups Projects
Commit 242f460f authored by Massimo Canonico's avatar Massimo Canonico
Browse files

Raise an error if the settings file does not exist

parent 8cd2f352
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,9 @@ class MetaConfManager(ABC):
self._config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir, "modules", platform, "settings.cfg")
else:
self._config_file = config_file
self.parser.read(self._config_file)
self.parser.read(open(self._config_file, "r"))
self.read_login_data()
self.read_platform_options()
self.read_options()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment