From c671b95ad22a05127298e6d51e2e7d5978e74a81 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Fri, 21 Jul 2023 10:06:41 +0900 Subject: [PATCH] bugfix: isdigit exception update db --- __init__.py | 11 ++++++-- custom-node-list.json | 30 ++++++++++++++++++++++ extension-node-map.json | 57 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index cf5e9fe..bcdb177 100644 --- a/__init__.py +++ b/__init__.py @@ -32,7 +32,7 @@ sys.path.append('../..') from torchvision.datasets.utils import download_url # ensure .js -print("### Loading: ComfyUI-Manager (V0.12.1)") +print("### Loading: ComfyUI-Manager (V0.12.2)") comfy_ui_revision = "Unknown" @@ -51,7 +51,14 @@ startup_script_path = os.path.join(comfyui_manager_path, "startup-scripts") def try_install_script(url, repo_path, install_cmd): - if platform.system() == "Windows" and (not comfy_ui_revision.isdigit() or int(comfy_ui_revision) >= 1152): + int_comfyui_revision = 0 + + if type(comfy_ui_revision) == int: + int_comfyui_revision = comfy_ui_revision + elif comfy_ui_revision.isdigit(): + int_comfyui_revision = int(comfy_ui_revision) + + if platform.system() == "Windows" and int_comfyui_revision >= 1152: if not os.path.exists(startup_script_path): os.makedirs(startup_script_path) diff --git a/custom-node-list.json b/custom-node-list.json index dbeaf4c..ed180c9 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -687,6 +687,36 @@ "install_type": "git-clone", "description": "Nodes: ImagesConcat, LoadImageFromUrl, AV_UploadImage" }, + { + "author": "SOELexicon", + "title": "LexMSDBNodes", + "reference": "https://github.com/SOELexicon/ComfyUI-LexMSDBNodes", + "files": [ + "https://github.com/SOELexicon/ComfyUI-LexMSDBNodes" + ], + "install_type": "git-clone", + "description": "Nodes: MSSqlTableNode, MSSqlSelectNode. This extension provides custom nodes to interact with MSSQL." + }, + { + "author": "pants007", + "title": "pants", + "reference": "https://github.com/pants007/comfy-pants", + "files": [ + "https://github.com/pants007/comfy-pants" + ], + "install_type": "git-clone", + "description": "Nodes: Make Square Node, Interrogate Node, TextEncodeAIO" + }, + { + "author": "evanspearman", + "title": "ComfyMath", + "reference": "https://github.com/evanspearman/ComfyMath", + "files": [ + "https://github.com/evanspearman/ComfyMath" + ], + "install_type": "git-clone", + "description": "Provides Math Nodes for ComfyUI. Boolean Logic, Integer Arithmetic, Floating Point Arithmetic and Functions, Vec2, Vec3, and Vec4 Arithmetic and Functions" + }, { "author": "taabata", "title": "Syrian Falcon Nodes", diff --git a/extension-node-map.json b/extension-node-map.json index b6d19e7..2400fc0 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -380,6 +380,10 @@ "LatentDuplicator", "LatentSelector" ], + "https://github.com/SOELexicon/ComfyUI-LexMSDBNodes": [ + "MSSqlSelectNode", + "MSSqlTableNode" + ], "https://github.com/SeargeDP/SeargeSDXL": [ "SeargeFloatConstant", "SeargeFloatMath", @@ -453,6 +457,7 @@ "Diffusers Model Loader", "Export API", "Image Analyze", + "Image Aspect Ratio", "Image Batch", "Image Blank", "Image Blend", @@ -693,6 +698,53 @@ "Prettify Prompt Using distilgpt2", "Swap Color Mode" ], + "https://github.com/evanspearman/ComfyMath": [ + "BreakoutVec2", + "BreakoutVec3", + "BreakoutVec4", + "ComposeVec2", + "ComposeVec3", + "ComposeVec4", + "FloatToInt", + "FloatToNumber", + "IntToFloat", + "IntToNumber", + "NumberToFloat", + "NumberToInt", + "Vec2Add", + "Vec2Cross", + "Vec2Distance", + "Vec2Dot", + "Vec2Eq", + "Vec2Ne", + "Vec2Neg", + "Vec2Norm", + "Vec2Normalize", + "Vec2ScalarMul", + "Vec2Sub", + "Vec3Add", + "Vec3Cross", + "Vec3Distance", + "Vec3Dot", + "Vec3Eq", + "Vec3Ne", + "Vec3Neg", + "Vec3Norm", + "Vec3Normalize", + "Vec3ScalarMul", + "Vec3Sub", + "Vec4Add", + "Vec4Cross", + "Vec4Distance", + "Vec4Dot", + "Vec4Eq", + "Vec4Ne", + "Vec4Neg", + "Vec4Norm", + "Vec4Normalize", + "Vec4ScalarMul", + "Vec4Sub" + ], "https://github.com/filipemeneses/comfy_pixelization": [ "Pixelization" ], @@ -936,6 +988,11 @@ "trim String _O", "variation_image _O" ], + "https://github.com/pants007/comfy-pants": [ + "CLIPInterrogator", + "CLIPTextEncodeAIO", + "Image Make Square" + ], "https://github.com/paulo-coronado/comfy_clip_blip_node": [ "CLIPTextEncodeBLIP", "CLIPTextEncodeBLIP-2",