Skip to content

Commit

Permalink
type check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-thomm committed May 19, 2024
1 parent 97e498b commit d25672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ryven-editor/ryven/main/packages/gui_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def register_gui(gui_cls: Type[NodeGUI]):
assert hasattr(node_cls, 'GUI')
InfoMsgs.write(f'{node_cls.__name__} has defined an explicit gui {node_cls.GUI.__name__}')
return
node_cls.GUI = gui_cls
node_cls.GUI = gui_cls # type: ignore
__explicit_nodes.add(node_cls)
InfoMsgs.write(f"Registered node gui: {gui_cls} for {node_cls}")
return gui_cls
Expand Down

0 comments on commit d25672d

Please sign in to comment.