提交代码

This commit is contained in:
qiaoxinjiu
2026-01-23 10:44:54 +08:00
parent 6994b185a3
commit 3b652793d2

View File

@@ -25,7 +25,7 @@ class ReadConfig:
files.close() files.close()
fd.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') self.cf.read(self.config_path, encoding='utf-8')
def get_value(self, sections, options): def get_value(self, sections, options):