From ba916633f2bedb04c7358000b91aed69f52e8e43 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 1 Aug 2014 19:35:59 +0200 Subject: Remove trailing whitespaces + remove license headers + import urllib methods directly + sort and fix key attributes + use save_join instead join + sort some import declarations + other minor code cosmetics --- module/plugins/hoster/Premium4Me.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/Premium4Me.py') diff --git a/module/plugins/hoster/Premium4Me.py b/module/plugins/hoster/Premium4Me.py index e66e76ce1..ea841338a 100644 --- a/module/plugins/hoster/Premium4Me.py +++ b/module/plugins/hoster/Premium4Me.py @@ -1,8 +1,8 @@ # -*- coding: utf-8 -*- -from urllib import quote -from os.path import exists from os import remove +from os.path import exists +from urllib import quote from module.plugins.Hoster import Hoster from module.utils import fs_encode @@ -10,14 +10,16 @@ from module.utils import fs_encode class Premium4Me(Hoster): __name__ = "Premium4Me" - __version__ = "0.08" __type__ = "hoster" + __version__ = "0.08" __pattern__ = r'http://(?:www\.)?premium.to/.*' + __description__ = """Premium.to hoster plugin""" __author_name__ = ("RaNaN", "zoidberg", "stickell") __author_mail__ = ("RaNaN@pyload.org", "zoidberg@mujmail.cz", "l.stickell@yahoo.it") + def setup(self): self.resumeDownload = True self.chunkLimit = 1 -- cgit v1.2.3