diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-01-27 22:47:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 22:47:56 +0100 |
commit | 7f7838eba9bd4f7ceeb97744c544b68a42d7b5ea (patch) | |
tree | a32c26883b1d1db270d7dd01ec449a6be8410b47 | |
parent | 9253a6c6a551c9dc776dafcccba086d45e669d6f (diff) | |
parent | c9af29b24a64a029a482d3d034475574ef79457d (diff) | |
download | mitmproxy-7f7838eba9bd4f7ceeb97744c544b68a42d7b5ea.tar.gz mitmproxy-7f7838eba9bd4f7ceeb97744c544b68a42d7b5ea.tar.bz2 mitmproxy-7f7838eba9bd4f7ceeb97744c544b68a42d7b5ea.zip |
Merge pull request #3798 from typoon/issue-3797
Fix for issue 3797
-rw-r--r-- | mitmproxy/optmanager.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mitmproxy/optmanager.py b/mitmproxy/optmanager.py index f42aa645..ac85f83a 100644 --- a/mitmproxy/optmanager.py +++ b/mitmproxy/optmanager.py @@ -320,8 +320,7 @@ class OptManager: update = {} for optname, optval in self.deferred.items(): if optname in self._options: - if isinstance(optval, str): - optval = self.parse_setval(self._options[optname], optval) + optval = self.parse_setval(self._options[optname], optval) update[optname] = optval self.update(**update) for k in update.keys(): |