1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 06:56:57 -05:00

Verify Secions are lower()

This commit is contained in:
deathbybandaid 2020-10-09 20:21:41 -04:00
parent 0dc159b3d5
commit a5d1bfc09f

View File

@ -51,8 +51,8 @@ class Config():
config_handler = configparser.ConfigParser()
config_handler.read(conffilepath)
for each_section in config_handler.sections():
if each_section not in list(self.dict.keys()):
self.dict[each_section] = {}
if each_section.lower() not in list(self.dict.keys()):
self.dict[each_section.lower()] = {}
for (each_key, each_val) in config_handler.items(each_section):
if not each_val:
each_val = None