summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/Premium4Me.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-07 17:32:49 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-07 17:32:49 +0100
commitd129267e022e1591de5dfbcc118f534a573eb400 (patch)
tree8995fd6c29742671a470667d59e8e6d167ed448b /module/plugins/hoster/Premium4Me.py
parentMerge pull request #32 from stickell/patch-1 (diff)
parentVarious fixes in 24 plugins (diff)
downloadpyload-d129267e022e1591de5dfbcc118f534a573eb400.tar.xz
Merge pull request #34 from stickell/fixes
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