summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LetitbitNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LetitbitNet.py')
-rw-r--r--module/plugins/hoster/LetitbitNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/LetitbitNet.py b/module/plugins/hoster/LetitbitNet.py
index 2d50651bd..199057b48 100644
--- a/module/plugins/hoster/LetitbitNet.py
+++ b/module/plugins/hoster/LetitbitNet.py
@@ -9,11 +9,11 @@
import re
import urlparse
-from module.plugins.internal.utils import json
+from module.plugins.internal.misc import json
from module.network.RequestFactory import getURL as get_url
from module.plugins.captcha.ReCaptcha import ReCaptcha
from module.plugins.internal.SimpleHoster import SimpleHoster
-from module.plugins.internal.utils import seconds_to_midnight
+from module.plugins.internal.misc import seconds_to_midnight
def api_response(url):
@@ -91,7 +91,7 @@ class LetitbitNet(SimpleHoster):
self.log_debug(res)
- recaptcha = ReCaptcha(self)
+ recaptcha = ReCaptcha(pyfile)
response, challenge = recaptcha.challenge()
post_data = {'recaptcha_challenge_field': challenge,