mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
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:
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue