diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-01-22 00:38:45 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-01-22 00:38:45 +0100 |
commit | f95471bcc28cb0c83f6fd6ad9c9d792b88d226bf (patch) | |
tree | e1caa03f7c79bccdf58b77e3c834af0e142b460d | |
parent | [FilecryptCc] fix #2311 (diff) | |
download | pyload-f95471bcc28cb0c83f6fd6ad9c9d792b88d226bf.tar.xz |
[Misc] fix #2159
-rw-r--r-- | module/plugins/internal/misc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py index c449070e0..e62a7d6cd 100644 --- a/module/plugins/internal/misc.py +++ b/module/plugins/internal/misc.py @@ -38,7 +38,7 @@ except ImportError: class misc(object): __name__ = "misc" __type__ = "plugin" - __version__ = "0.24" + __version__ = "0.25" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -711,7 +711,8 @@ def parse_html_header(header): hdict = {} regexp = r'[ ]*(?P<key>.+?)[ ]*:[ ]*(?P<value>.+?)[ ]*\r?\n' - for key, value in re.findall(regexp, header.lower()): + for key, value in re.findall(regexp, header): + key = key.lower() if key in hdict: header_key = hdict.get(key) if type(header_key) is list: |