mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fixes ValueError where characters list is presumed to be iterable.
This commit is contained in:
parent
a6f5cccdfa
commit
e38f3ff56d
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ class DefaultAccount(AccountDB, metaclass=TypeclassBase):
|
|||
def characters(self):
|
||||
# Get playable characters list
|
||||
objs = self.db._playable_characters
|
||||
if not objs: objs = ()
|
||||
|
||||
# Rebuild the list if legacy code left null values after deletion
|
||||
if None in objs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue