CustomConfig.py Removed extra characters
I removed these extra characters.
This commit is contained in:
parent
df28136bb3
commit
2c0858f19b
@ -117,7 +117,7 @@ class CustomConfigParser(SafeConfigParser):
|
|||||||
For instance, for "Account Test", returns "Test"."""
|
For instance, for "Account Test", returns "Test"."""
|
||||||
|
|
||||||
key = key + ' '
|
key = key + ' '
|
||||||
return [x[len(key):] for x in self.sections() \
|
return [x[len(key):] for x in self.sections()
|
||||||
if x.startswith(key)]
|
if x.startswith(key)]
|
||||||
|
|
||||||
def set_if_not_exists(self, section, option, value):
|
def set_if_not_exists(self, section, option, value):
|
||||||
@ -157,7 +157,7 @@ def CustomConfigDefault():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class ConfigHelperMixin():
|
class ConfigHelperMixin:
|
||||||
"""Allow comfortable retrieving of config values pertaining
|
"""Allow comfortable retrieving of config values pertaining
|
||||||
to a section.
|
to a section.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user