Skip to content
Snippets Groups Projects
Commit ada60c38 authored by sguazt's avatar sguazt
Browse files

Core: replaced 'SafeConfigParser' with 'ConfigParser' as the former has been deprecated.

parent e2f8da94
No related branches found
No related tags found
No related merge requests found
from abc import ABC, abstractmethod
from configparser import SafeConfigParser
from configparser import ConfigParser
import os
......@@ -17,7 +17,7 @@ class MetaConfManager(ABC):
config_file (str): optional configuration file name.
"""
self.platform = platform
self.parser = SafeConfigParser()
self.parser = ConfigParser()
#self.parser.read("modules" + sep + self._platform + sep + "settings.cfg")
if config_file is None:
self._config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir, "modules", platform, "settings.cfg")
......
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