mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Fix for issue 3797
This commit is contained in:
parent
bbb7eb692f
commit
c9af29b24a
@ -320,8 +320,7 @@ class OptManager:
|
|||||||
update = {}
|
update = {}
|
||||||
for optname, optval in self.deferred.items():
|
for optname, optval in self.deferred.items():
|
||||||
if optname in self._options:
|
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
|
update[optname] = optval
|
||||||
self.update(**update)
|
self.update(**update)
|
||||||
for k in update.keys():
|
for k in update.keys():
|
||||||
|
Loading…
Reference in New Issue
Block a user