CustomConfig.py Removed extra characters

I removed these extra characters.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 18:20:07 +02:00
parent df28136bb3
commit 2c0858f19b

View File

@ -117,7 +117,7 @@ class CustomConfigParser(SafeConfigParser):
For instance, for "Account Test", returns "Test"."""
key = key + ' '
return [x[len(key):] for x in self.sections() \
return [x[len(key):] for x in self.sections()
if x.startswith(key)]
def set_if_not_exists(self, section, option, value):
@ -157,7 +157,7 @@ def CustomConfigDefault():
pass
class ConfigHelperMixin():
class ConfigHelperMixin:
"""Allow comfortable retrieving of config values pertaining
to a section.