提交代码
This commit is contained in:
@@ -25,7 +25,7 @@ class ReadConfig:
|
||||
files.close()
|
||||
fd.close()
|
||||
|
||||
self.cf = configparser.SafeConfigParser(allow_no_value=True)
|
||||
self.cf = configparser.ConfigParser(allow_no_value=True)
|
||||
self.cf.read(self.config_path, encoding='utf-8')
|
||||
|
||||
def get_value(self, sections, options):
|
||||
|
||||
Reference in New Issue
Block a user