diff --git a/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py b/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py index 52e100340..9893f95f3 100644 --- a/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py +++ b/libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py @@ -40,7 +40,7 @@ try: except ImportError: from urllib.parse import unquote -from jsbeautifier.unpackers import UnpackingError +from . import UnpackingError PRIORITY = 1 diff --git a/libmproxy/contrib/jsbeautifier/unpackers/packer.py b/libmproxy/contrib/jsbeautifier/unpackers/packer.py index a79d3ed5b..37aa7123b 100644 --- a/libmproxy/contrib/jsbeautifier/unpackers/packer.py +++ b/libmproxy/contrib/jsbeautifier/unpackers/packer.py @@ -14,7 +14,7 @@ import re import string -from jsbeautifier.unpackers import UnpackingError +from . import UnpackingError PRIORITY = 1