From b5e148f5f4236666e72ca0ee7a6e83b9413aa01e Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 10 Jan 2026 17:06:39 +0100 Subject: [PATCH] Update __init__.py --- __init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 6692cab..41123cc 100644 --- a/__init__.py +++ b/__init__.py @@ -1,3 +1,7 @@ -from .qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +try: + from .qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +except ImportError: + # Fallback for older python environments or specific structures + from qwen_standalone import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] \ No newline at end of file