diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-02-17 21:20:33 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-02-17 21:20:33 +0100 |
commit | 3a3a7e6d35cd87e60e0e00e68f47ece3e11caaed (patch) | |
tree | b24984c9ddb3606b27406c531b67a023b9609319 /module | |
parent | Merge pull request #2343 from YiFanChen99/stable (diff) | |
download | pyload-3a3a7e6d35cd87e60e0e00e68f47ece3e11caaed.tar.xz |
[SimpleHoster] code cosmetics
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index c68703a73..aae1ba2a1 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -16,7 +16,7 @@ from module.plugins.internal.misc import (encode, parse_name, parse_size, class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "2.20" + __version__ = "2.21" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -188,8 +188,8 @@ class SimpleHoster(Hoster): info['size'] = parse_size(info['size'], unit) if 'H' in info['pattern']: - the_type = info['pattern']['H'].strip('-').upper() - info['hash'][the_type] = info['pattern']['D'] + hash_type = info['pattern']['H'].strip('-').upper() + info['hash'][hash_type] = info['pattern']['D'] return info |