summaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.py b/src/config.py
index b4b07491..e99572d7 100644
--- a/src/config.py
+++ b/src/config.py
@@ -50,6 +50,12 @@ class Config(RawConfigParser):
return default
return res
+ def getl(self, option, default, section=DEFSECTION):
+ """
+ get a value and return it lowercase
+ """
+ return self.get(option, default, section).lower()
+
def get_by_tabname(self, option, default, tabname, fallback=True):
"""
Try to get the value for the option. First we look in