Make sections and settings case-insensitive (stored lowercase).
When we get profiles we should be case-preserving, but this will do for now.
This commit is contained in:
parent
c0ab0e3f34
commit
1f0bb51e76
|
@ -118,11 +118,11 @@ class ConfigFile:
|
|||
|
||||
def _section(self, section):
|
||||
dbg("Section %s" % repr(section))
|
||||
self._currsection = section
|
||||
self._currsection = section.lower()
|
||||
|
||||
def _setting(self, setting):
|
||||
dbg("Setting %s" % repr(setting))
|
||||
self._currsetting = setting
|
||||
self._currsetting = setting.lower()
|
||||
|
||||
def _value(self, value):
|
||||
dbg("Value %s" % repr(value))
|
||||
|
|
Loading…
Reference in New Issue