summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/MultishareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/MultishareCz.py')
-rw-r--r--pyload/plugin/hoster/MultishareCz.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/MultishareCz.py b/pyload/plugin/hoster/MultishareCz.py
index 4ee747043..d4546e5f9 100644
--- a/pyload/plugin/hoster/MultishareCz.py
+++ b/pyload/plugin/hoster/MultishareCz.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
+import random
import re
-from random import random
-
from pyload.plugin.internal.SimpleHoster import SimpleHoster
@@ -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},