From 8368a9a74d998b314f3864dcc8ce25c513d85cf9 Mon Sep 17 00:00:00 2001 From: Stefano Date: Thu, 7 Mar 2013 16:41:25 +0100 Subject: Various fixes in 24 plugins --- module/plugins/hoster/Premium4Me.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster/Premium4Me.py') diff --git a/module/plugins/hoster/Premium4Me.py b/module/plugins/hoster/Premium4Me.py index d029b3df1..2679916e9 100644 --- a/module/plugins/hoster/Premium4Me.py +++ b/module/plugins/hoster/Premium4Me.py @@ -3,10 +3,13 @@ from urllib import quote from module.plugins.Hoster import Hoster +from module.utils import fs_encode +from os.path import exists +from os import remove class Premium4Me(Hoster): __name__ = "Premium4Me" - __version__ = "0.03" + __version__ = "0.04" __type__ = "hoster" __pattern__ = r"http://premium4.me/.*" @@ -55,4 +58,4 @@ class Premium4Me(Hoster): traffic = int(self.load ("http://premium4.me/api/traffic.php?authcode=%s" % self.account.authcode)) except: traffic = 0 - return traffic \ No newline at end of file + return traffic -- cgit v1.2.3