summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Premium4Me.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-03-07 16:41:25 +0100
commit8368a9a74d998b314f3864dcc8ce25c513d85cf9 (patch)
tree8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/Premium4Me.py
parentMerge pull request #32 from stickell/patch-1 (diff)
downloadpyload-8368a9a74d998b314f3864dcc8ce25c513d85cf9.tar.xz
Various fixes in 24 plugins
Diffstat (limited to 'module/plugins/hoster/Premium4Me.py')
-rw-r--r--module/plugins/hoster/Premium4Me.py7
1 files changed, 5 insertions, 2 deletions
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