summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-08 16:03:24 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-08 16:03:24 +0200
commit0f90f432538ae73bbc975e6b801a3c3bb60c91b8 (patch)
tree87b4cb993b80ad2e298041746ae18e46baf670bb /module
parentclosed #359 (diff)
downloadpyload-0f90f432538ae73bbc975e6b801a3c3bb60c91b8.tar.xz
disabled GUI, fix captcha
Diffstat (limited to 'module')
-rw-r--r--module/gui/ConnectionManager.py8
-rw-r--r--module/plugins/hooks/IRCInterface.py2
2 files changed, 8 insertions, 2 deletions
diff --git a/module/gui/ConnectionManager.py b/module/gui/ConnectionManager.py
index 7a7a25f5f..8bf4ff24b 100644
--- a/module/gui/ConnectionManager.py
+++ b/module/gui/ConnectionManager.py
@@ -26,7 +26,13 @@ from uuid import uuid4 as uuid
class ConnectionManager(QWidget):
def __init__(self):
QWidget.__init__(self)
-
+
+ QMessageBox.warning(self, 'Warning',
+ "We are sorry but the GUI is not stable anymore. Please use the webinterface for much better experience. \n", QMessageBox.Ok)
+
+ return
+
+
mainLayout = QHBoxLayout()
buttonLayout = QVBoxLayout()
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index 28087a126..e2737dc3a 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -89,7 +89,7 @@ class IRCInterface(Thread, Hook):
page = getURL("http://www.freeimagehosting.net/upload.php", post={"attached" : (FORM_FILE, task.captchaFile)}, multipart=True)
- url = re.search(r"\[url=http://www.freeimagehosting.net/\]\[img\]([^\[]+)\[/img\]\[/url\]", page).group(1)
+ url = re.search(r"\[img\]([^\[]+)\[/img\]\[/url\]", page).group(1)
self.response(_("New Captcha Request: %s") % url)
self.response(_("Answer with 'c %s text on the captcha'") % task.id)