aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/optmanager.py3
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():