summaryrefslogtreecommitdiffstats
path: root/module/web/pyload_app.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-03-20 14:57:45 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-03-20 14:57:45 +0100
commit50d4df8b4d48b855bd18e9922355b7f3f2b4da4e (patch)
tree6301b05677a90cf86f131d5a7ae3f879b38e84d2 /module/web/pyload_app.py
parentrenamed hooks to addons, new filemanager and database, many new api methods (diff)
downloadpyload-50d4df8b4d48b855bd18e9922355b7f3f2b4da4e.tar.xz
captcha decrypting for all plugin types, new interaction manager
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r--module/web/pyload_app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index 4edc6e0a5..4c448d2cd 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -36,6 +36,7 @@ from utils import render_to_response, parse_permissions, parse_userdata, \
from filters import relpath, unquotepath
+from module.Api import Output
from module.utils import format_size
from module.utils.fs import save_join, fs_encode, fs_decode, listdir
@@ -52,7 +53,7 @@ def pre_processor():
if user["is_authenticated"]:
status = PYLOAD.statusServer()
info = PYLOAD.getInfoByPlugin("UpdateManager")
- captcha = PYLOAD.isCaptchaWaiting()
+ captcha = PYLOAD.isInteractionWaiting(Output.Captcha)
# check if update check is available
if info: