Fix use of undefined variable in blend2json utility

This commit is contained in:
Campbell Barton
2024-10-28 09:50:57 +11:00
parent 59c52ef2cf
commit a312bfe6d5

View File

@@ -76,7 +76,7 @@ import blendfile
def json_default(o):
if isinstance(o, bytes):
return repr(o)[2:-1]
elif i is ...:
elif o is ...:
return "<...>"
return o