summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/cnl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui/app/cnl.py')
-rw-r--r--pyload/webui/app/cnl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/webui/app/cnl.py b/pyload/webui/app/cnl.py
index b6cbd6b55..635d4030c 100644
--- a/pyload/webui/app/cnl.py
+++ b/pyload/webui/app/cnl.py
@@ -9,6 +9,7 @@ from base64 import standard_b64decode
from binascii import unhexlify
from bottle import route, request, HTTPError
+
from pyload.webui import PYLOAD, DL_ROOT, JS
@@ -87,7 +88,7 @@ def addcrypted2():
try:
jk = re.findall(r"return ('|\")(.+)('|\")", jk)[0][1]
except Exception:
- ## Test for some known js functions to decode
+ # Test for some known js functions to decode
if jk.find("dec") > -1 and jk.find("org") > -1:
org = re.findall(r"var org = ('|\")([^\"']+)", jk)[0][1]
jk = list(org)