From 8dc2f1eb8853471d2a0de6617b95f0a0768f0287 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 03:05:49 +0200 Subject: Boring code cosmetics (3) --- module/plugins/hoster/SmoozedCom.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/SmoozedCom.py') diff --git a/module/plugins/hoster/SmoozedCom.py b/module/plugins/hoster/SmoozedCom.py index e1400b3bb..9f84edfec 100644 --- a/module/plugins/hoster/SmoozedCom.py +++ b/module/plugins/hoster/SmoozedCom.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- +from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo from module.plugins.internal.utils import json -from module.plugins.internal.MultiHoster import MultiHoster class SmoozedCom(MultiHoster): __name__ = "SmoozedCom" __type__ = "hoster" - __version__ = "0.10" + __version__ = "0.11" __status__ = "testing" __pattern__ = r'^unmatchable$' #: Since we want to allow the user to specify the list of hoster to use we let MultiHoster.activate @@ -61,3 +61,6 @@ class SmoozedCom(MultiHoster): self.fail(_("Unable to initialize download")) else: self.link = header.get('location')[-1] if isinstance(header.get('location'), list) else header.get('location') + + +getInfo = create_getInfo(SmoozedCom) -- cgit v1.2.3