summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/GigapetaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/GigapetaCom.py')
-rw-r--r--pyload/plugin/hoster/GigapetaCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/GigapetaCom.py b/pyload/plugin/hoster/GigapetaCom.py
index c524a0a7c..a85074e79 100644
--- a/pyload/plugin/hoster/GigapetaCom.py
+++ b/pyload/plugin/hoster/GigapetaCom.py
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-
+import pycurl
+import random
import re
-from random import randint
-
from pyload.plugin.internal.SimpleHoster import SimpleHoster
@@ -28,7 +28,7 @@ class GigapetaCom(SimpleHoster):
def handleFree(self, pyfile):
- captcha_key = str(randint(1, 100000000))
+ captcha_key = str(random.randint(1, 100000000))
captcha_url = "http://gigapeta.com/img/captcha.gif?x=%s" % captcha_key
for _i in xrange(5):