Skip to content

Commit

Permalink
context menu fix #430 suggestion form @KwentiN-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jchanvfx committed Oct 6, 2024
1 parent 3ac59f5 commit 8a76045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NodeGraphQt/base/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ def set_context_menu_from_file(self, file_path, menu='graph'):
if not file.is_file():
raise IOError('file doesn\'t exist: "{}"'.format(file))

with file.open() as f:
with file.open(encoding='utf8') as f:
data = json.load(f)
context_menu = self.get_context_menu(menu)
self._deserialize_context_menu(context_menu, data, file)
Expand Down

0 comments on commit 8a76045

Please sign in to comment.