summaryrefslogtreecommitdiffstats
path: root/pyload/utils
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-29 13:03:17 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-09-29 13:03:17 +0200
commit6a997661dc5c259f844531382a90a4ca120f1233 (patch)
tree085a76d4bac208963649a62f9393e0c0b049e869 /pyload/utils
parentrewritten decrypter and info fetching thread (diff)
downloadpyload-6a997661dc5c259f844531382a90a4ca120f1233.tar.xz
basics for web setup
Diffstat (limited to 'pyload/utils')
-rw-r--r--pyload/utils/JsEngine.py2
-rw-r--r--pyload/utils/fs.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/pyload/utils/JsEngine.py b/pyload/utils/JsEngine.py
index ef7494d16..3318ffb2a 100644
--- a/pyload/utils/JsEngine.py
+++ b/pyload/utils/JsEngine.py
@@ -48,7 +48,7 @@ if not ENGINE:
if not ENGINE or DEBUG:
try:
- find_module("PyV8")
+ import PyV8
ENGINE = "pyv8"
PYV8 = True
except:
diff --git a/pyload/utils/fs.py b/pyload/utils/fs.py
index 92cc605e7..52bf0bd51 100644
--- a/pyload/utils/fs.py
+++ b/pyload/utils/fs.py
@@ -44,7 +44,6 @@ def exists(path):
def makedirs(path, mode=0755):
return os.makedirs(fs_encode(path), mode)
-# fs_decode?
def listdir(path):
return [fs_decode(x) for x in os.listdir(fs_encode(path))]