diff --git a/pyload/core/utils/misc.py b/pyload/core/utils/misc.py index 6d2f23cc5..96d931108 100644 --- a/pyload/core/utils/misc.py +++ b/pyload/core/utils/misc.py @@ -3,11 +3,6 @@ import random import string -import js2py - -js2py.disable_pyimport() - - def random_string(length): seq = string.ascii_letters + string.digits + string.punctuation return "".join(random.choice(seq) for _ in range(length)) @@ -23,8 +18,7 @@ def is_plural(value): def eval_js(script, es6=False): # return requests_html.HTML().render(script=script, reload=False) - return (js2py.eval_js6 if es6 else js2py.eval_js)(script) - + return None def accumulate(iterable, to_map=None): """ --