diff options
author | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 18:14:00 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2019-11-19 18:21:14 +0100 |
commit | 76e648410745c61f7a659e864230b6154dc43ced (patch) | |
tree | 3c17752752f382d9ce22bfc668817ec46a6caafe /mitmproxy/addons | |
parent | 74f5fa6a7736f116416c242b159e6b0525e6fe5b (diff) | |
download | mitmproxy-76e648410745c61f7a659e864230b6154dc43ced.tar.gz mitmproxy-76e648410745c61f7a659e864230b6154dc43ced.tar.bz2 mitmproxy-76e648410745c61f7a659e864230b6154dc43ced.zip |
fix lexing, sort of
Diffstat (limited to 'mitmproxy/addons')
-rw-r--r-- | mitmproxy/addons/core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mitmproxy/addons/core.py b/mitmproxy/addons/core.py index 55e2e129..6fb2bf1e 100644 --- a/mitmproxy/addons/core.py +++ b/mitmproxy/addons/core.py @@ -90,8 +90,7 @@ class Core: are emptied. Boolean values can be true, false or toggle. Multiple values are concatenated with a single space. """ - value = " ".join(value) - strspec = f"{option}={value}" + strspec = f"{option}={' '.join(value)}" try: ctx.options.set(strspec) except exceptions.OptionsError as e: |