summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MultishareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/MultishareCz.py')
-rw-r--r--module/plugins/hoster/MultishareCz.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/MultishareCz.py b/module/plugins/hoster/MultishareCz.py
index 5dc53ecbc..bbb77f525 100644
--- a/module/plugins/hoster/MultishareCz.py
+++ b/module/plugins/hoster/MultishareCz.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
+import random
import re
-from random import random
-
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
@@ -45,7 +44,7 @@ class MultishareCz(SimpleHoster):
if not self.checkTrafficLeft():
self.fail(_("Not enough credit left to download file"))
- self.download("http://dl%d.mms.multishare.cz/html/mms_process.php" % round(random() * 10000 * random()),
+ self.download("http://dl%d.mms.multishare.cz/html/mms_process.php" % round(random.random() * 10000 * random.random()),
get={'u_ID' : self.acc_info['u_ID'],
'u_hash': self.acc_info['u_hash'],
'link' : pyfile.url},