diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-01-29 08:04:46 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-01-29 08:04:46 +0100 |
commit | 73ebce5c91fcbf3f334a0c29316e0c47cccf5531 (patch) | |
tree | 6652f12b129cf09173f7c1356e9c3f4eab6e9607 /src/config.py | |
parent | e0136e785a271d5e5c705a5cf083b9122d6ce2ca (diff) | |
download | poezio-73ebce5c91fcbf3f334a0c29316e0c47cccf5531.tar.gz poezio-73ebce5c91fcbf3f334a0c29316e0c47cccf5531.tar.bz2 poezio-73ebce5c91fcbf3f334a0c29316e0c47cccf5531.tar.xz poezio-73ebce5c91fcbf3f334a0c29316e0c47cccf5531.zip |
make the options in the config files case sensitive.
Diffstat (limited to 'src/config.py')
-rw-r--r-- | src/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.py b/src/config.py index abb39011..88ba38c9 100644 --- a/src/config.py +++ b/src/config.py @@ -25,6 +25,8 @@ class Config(RawConfigParser): def __init__(self, file_name): self.file_name = file_name RawConfigParser.__init__(self, None) + # make the options case sensitive + self.optionxform = str try: RawConfigParser.read(self, file_name, encoding='utf-8') except TypeError: # python < 3.2 sucks |