mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Fixed a bug in dbserialize when handling nested tuples.
This commit is contained in:
parent
0a7734c3d5
commit
cafbb43f7a
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ def from_pickle(data, db_obj=None):
|
|||
# this must be checked before tuple
|
||||
return unpack_dbobj(item)
|
||||
elif dtype == tuple:
|
||||
return tuple(process_tree(val) for val in item)
|
||||
return tuple(process_tree(val, item) for val in item)
|
||||
elif dtype == list:
|
||||
dat = _SaverList(parent=parent)
|
||||
dat._data.extend(process_tree(val, dat) for val in item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue