Skip to content

Commit

Permalink
Fixes json add actions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroHG committed Jan 8, 2024
1 parent 933d190 commit e77b290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objathor/asset_conversion/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def add_visualize_thor_actions(
asset = json.load(f)
if isinstance(asset, dict):
actions = [{"action": "CreateRuntimeAsset", "asset": asset}]
if not isinstance(asset, list):
elif not isinstance(asset, list):
raise TypeError(
f"Json {asset_json} is not a sequence of actions or a dictionary."
)
Expand Down

0 comments on commit e77b290

Please sign in to comment.