Move dict into attributes.get as a default
This commit is contained in:
parent
8abc4b1841
commit
e37fdc110f
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class Session(object):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if self.account:
|
if self.account:
|
||||||
self.protocol_flags.update(self.account.attributes.get("_saved_protocol_flags") or {})
|
self.protocol_flags.update(self.account.attributes.get("_saved_protocol_flags", {}))
|
||||||
|
|
||||||
# access hooks
|
# access hooks
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue