mirror of
https://github.com/wassname/baukit.git
synced 2026-06-27 17:14:53 +08:00
Fix move_to on lists.
This commit is contained in:
@@ -47,7 +47,7 @@ def move_to(device, *containers):
|
||||
if isinstance(container, dict):
|
||||
g = list(container.items())
|
||||
else:
|
||||
g = enumerate(list)
|
||||
g = enumerate(container)
|
||||
for i, v in g:
|
||||
moved = move_to(device, v)
|
||||
if moved is not None:
|
||||
|
||||
Reference in New Issue
Block a user