Fix recursive detach

This commit is contained in:
James Betker 2020-09-20 19:08:13 -06:00
parent 53a5657850
commit bde35ced47

View File

@ -357,6 +357,4 @@ def recursively_detach(v):
out = {}
for k, t in v.items():
out[k] = recursively_detach(t)
return out
else:
raise ValueError("Unsupported type")
return out