mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Handle objects as keys in ndb.all(). Resolve #2378.
This commit is contained in:
parent
c4806716da
commit
125c5664fb
1 changed files with 1 additions and 1 deletions
|
|
@ -1128,4 +1128,4 @@ class NAttributeHandler(object):
|
|||
"""
|
||||
if return_tuples:
|
||||
return [(key, value) for (key, value) in self._store.items() if not key.startswith("_")]
|
||||
return [key for key in self._store if not key.startswith("_")]
|
||||
return [key for key in self._store if not str(key).startswith("_")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue