summaryrefslogtreecommitdiff
path: root/portato/config_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/config_parser.py')
-rw-r--r--portato/config_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/config_parser.py b/portato/config_parser.py
index f4c6218..ee838b2 100644
--- a/portato/config_parser.py
+++ b/portato/config_parser.py
@@ -291,12 +291,12 @@ class ConfigParser:
"""
try:
- section = self.vars[section]
+ sectiondict = self.vars[section]
except KeyError:
raise SectionNotFoundException("Section '%s' not found in file '%s'." % (section, self.file))
try:
- return section[key]
+ return sectiondict[key]
except KeyError:
raise KeyNotFoundException("Key '%s' not found in section '%s' in file '%s'." % (key, section, self.file))
d>René 'Necoro' Neumann1-27/+19 2013-06-06i3: use $mod+t for tabbed instead of $mod+wRené 'Necoro' Neumann1-1/+1 2013-06-06i3: unify scripts into oneRené 'Necoro' Neumann6-49/+1771 2013-06-06i3: new temporary workspaceRené Neumann2-1/+27 2013-06-06Allow 'klass' in i3.py descriptionsRené Neumann1-0/+4 2013-06-04i3: rename workspaceRené Neumann1-0/+3 2013-06-03Some more greek chars / math product and sumRené 'Necoro' Neumann1-0/+6 2013-06-02Fix rules in i3-config. Somehow 'set' expands variables twice :-/René Neumann1-14/+11 2013-06-01Overhaul xlock.shRené 'Necoro' Neumann1-4/+8 2013-06-01Better workspace chooserRené 'Necoro' Neumann3-2/+581 2013-06-01FF/TB/Pidgin stuffRené 'Necoro' Neumann1-26/+45 2013-06-01More i3René 'Necoro' Neumann1-2/+11 2013-06-01FixesRené 'Necoro' Neumann2-2/+2