From b86adbb807e4061e408aca3ad0c78d82a15e5df9 Mon Sep 17 00:00:00 2001 From: Haoming <73768377+Haoming02@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:00:09 +0800 Subject: [PATCH] support v1.9.0 --- scripts/cc_xyz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cc_xyz.py b/scripts/cc_xyz.py index c0dec25..0670047 100644 --- a/scripts/cc_xyz.py +++ b/scripts/cc_xyz.py @@ -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...")