fix: WildcardEncodeInspire
- show message on wildcards instead of raise error when Impact Pack is outdated
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
import importlib
|
||||
|
||||
print(f"### Loading: ComfyUI-Inspire-Pack (V0.32)")
|
||||
print(f"### Loading: ComfyUI-Inspire-Pack (V0.32.1)")
|
||||
|
||||
node_list = [
|
||||
"lora_block_weight",
|
||||
|
||||
+4
-1
@@ -315,7 +315,10 @@ class WildcardEncodeInspire:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
if 'ImpactWildcardEncode' in nodes.NODE_CLASS_MAPPINGS:
|
||||
wildcards = nodes.NODE_CLASS_MAPPINGS['ImpactWildcardEncode'].get_wildcard_list()
|
||||
try:
|
||||
wildcards = nodes.NODE_CLASS_MAPPINGS['ImpactWildcardEncode'].get_wildcard_list()
|
||||
except:
|
||||
wildcards = ["Impact Pack is outdated"]
|
||||
else:
|
||||
wildcards = ["Impact Pack isn't installed"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user