Skip to content

Commit

Permalink
Merge pull request #6
Browse files Browse the repository at this point in the history
Fix for v1.9.0 by. w-e-w
  • Loading branch information
Haoming02 authored Apr 22, 2024
2 parents 3c867ab + dc2c50f commit ae535ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/
2 changes: 1 addition & 1 deletion scripts/res_xyz.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def grid_reference():
for data in scripts.scripts_data:
if data.script_class.__module__ == 'xyz_grid.py' and hasattr(data, "module"):
if data.script_class.__module__ in ('scripts.xyz_grid', 'xyz_grid.py') and hasattr(data, "module"):
return data.module

raise SystemError("Could not find X/Y/Z Plot...")
Expand Down

0 comments on commit ae535ea

Please sign in to comment.