Fix for issue 3797

This commit is contained in:
Gilgamesh 2020-01-24 21:52:06 -05:00
parent bbb7eb692f
commit c9af29b24a

View File

@ -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():