support v1.9.0

pull/32/head
Haoming 2024-04-22 12:00:09 +08:00 committed by GitHub
parent 3f9c6db3bb
commit b86adbb807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import modules.scripts as scripts
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...")