From 578e9f800cd2c17511e4fe80dd205acb90660d8f Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 9 Sep 2014 01:07:39 +0200 Subject: [PATCH] fix jsunpacker imports --- libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py | 2 +- libmproxy/contrib/jsbeautifier/unpackers/packer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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