From 3a3a7e6d35cd87e60e0e00e68f47ece3e11caaed Mon Sep 17 00:00:00 2001 From: Nitzo Date: Wed, 17 Feb 2016 22:20:33 +0200 Subject: [SimpleHoster] code cosmetics --- module/plugins/internal/SimpleHoster.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module') 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 -- cgit v1.2.3