Optimize _Saverdict.update that caused issues for webclient option update (#2224)

This commit is contained in:
Griatch 2020-11-01 11:19:14 +01:00
parent 668551a0d5
commit 91e2e68291
5 changed files with 10 additions and 5 deletions

View file

@ -521,9 +521,8 @@ def webclient_options(session, *args, **kwargs):
session=session,
)
else:
# kwargs provided: persist them to the account object
for key, value in kwargs.items():
clientoptions[key] = value
# kwargs provided: persist them to the account object.
clientoptions.update(kwargs)
# OOB protocol-specific aliases and wrappers