summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/BitshareCom.py2
-rw-r--r--module/plugins/hoster/UploadStationCom.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py
index c552cdd9d..d811c02a4 100644
--- a/module/plugins/hoster/BitshareCom.py
+++ b/module/plugins/hoster/BitshareCom.py
@@ -138,7 +138,7 @@ class BitshareCom(Hoster):
def handleCaptchaErrors(self, response):
self.log.debug("%s: Result of captcha resolving [%s]" % (self.__name__, response))
if "SUCCESS" in response:
+ self.correctCaptcha()
return True
-
self.log.debug("%s: Wrong captcha" % self.__name__)
self.invalidCaptcha() \ No newline at end of file
diff --git a/module/plugins/hoster/UploadStationCom.py b/module/plugins/hoster/UploadStationCom.py
index 8a97a864a..b45472747 100644
--- a/module/plugins/hoster/UploadStationCom.py
+++ b/module/plugins/hoster/UploadStationCom.py
@@ -148,6 +148,8 @@ class UploadStationCom(Hoster):
self.log.info("%s: Invalid captcha response, retrying." % (self.__name__))
self.invalidCaptcha()
self.retry()
+ else:
+ self.correctCaptcha()
def handleDownloadedFile(self):
check = self.checkDownload({"wait": re.compile(UploadStationCom.TIME_LIMIT_WAIT_PATTERN)})