diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-10-25 08:18:39 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-10-25 08:18:39 +1300 |
commit | 5aadf92767614b7bd8e2ef677085410ac359e5e8 (patch) | |
tree | 560778bba2ac6a2e6cc7a0b69bb042987ef67435 /libpathod/app.py | |
parent | 3de68da3adf15f445e40412fdde4b94857640166 (diff) | |
download | mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.tar.gz mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.tar.bz2 mitmproxy-5aadf92767614b7bd8e2ef677085410ac359e5e8.zip |
Nicer way to specify patterns read for file - just use a path
Diffstat (limited to 'libpathod/app.py')
-rw-r--r-- | libpathod/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/app.py b/libpathod/app.py index fb1d6a2d..1a54f712 100644 --- a/libpathod/app.py +++ b/libpathod/app.py @@ -121,9 +121,9 @@ def make_app(noapi): try: if is_request: - r = language.parse_request(app.config["pathod"].request_settings, spec) + r = language.parse_request(spec) else: - r = language.parse_response(app.config["pathod"].request_settings, spec) + r = language.parse_response(spec) except language.ParseException, v: args["syntaxerror"] = str(v) args["marked"] = v.marked() |