Skip to content

Commit

Permalink
Avoid in-place modification of .tools
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed May 23, 2024
1 parent 7a66783 commit 811eada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glue_vispy_viewers/common/qt/data_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ def show_status(self, text):
except ImportError:
pass
else:
BaseVispyViewer.tools.insert(1, 'vispy:record')
BaseVispyViewer.tools = BaseVispyViewer.tools[:] + ['vispy:record']

0 comments on commit 811eada

Please sign in to comment.