mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
commit
97a99db33f
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ class Session(object):
|
|||
the keys given by self._attrs_to_sync.
|
||||
|
||||
"""
|
||||
return {attr: getattr(self, attr, None) for attr in settings.SESSION_SYNC_ATTRS}
|
||||
return {attr: getattr(self, attr) for attr in settings.SESSION_SYNC_ATTRS if hasattr(self, attr)}
|
||||
|
||||
def load_sync_data(self, sessdata):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue