From d45fffff237fe659352cb2477550dbb02ead34ff Mon Sep 17 00:00:00 2001 From: Morgan Johansson Date: Tue, 11 Feb 2025 21:48:17 +0100 Subject: [PATCH] Update check fix. --- __init__.py | 2 +- pyproject.toml | 2 +- shared.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 2ffdba3..50cc10a 100644 --- a/__init__.py +++ b/__init__.py @@ -38,7 +38,7 @@ _SIGNATURE_SUFFIX = " [Dream]" MANIFEST = { "name": "Dream Project Animation", - "version": (5, 0, 13), + "version": (5, 0, 14), "author": "Dream Project", "project": "https://github.com/alt-key-project/comfyui-dream-project", "description": "Various utility nodes for creating animations with ComfyUI", diff --git a/pyproject.toml b/pyproject.toml index 5cfba32..4fef14c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-dream-project" description = "This extension offers various nodes that are useful for Deforum-like animations in ComfyUI." -version = "5.0.13" +version = "5.0.14" license = { text = "MIT License" } dependencies = ["imageio", "pilgram", "scipy", "numpy<2.0,>=1.18", "torchvision", "evalidate"] diff --git a/shared.py b/shared.py index d31e5e7..6f27278 100644 --- a/shared.py +++ b/shared.py @@ -366,7 +366,7 @@ def hashed_as_strings(*items, **kwargs): tokens = "|".join(list(map(str, items))) m = hashlib.sha256() m.update(tokens.encode(encoding="utf-8")) - kw_tokens = ("#".join(sorted(map(lambda e: str(e[0])+"="+str(e[1]), kwargs.items())))) - m.update(kw_tokens.encode(encoding="utf-8")) + for pair in kwargs.items(): + m.update(str(pair).encode(encoding="utf-8")) return m.digest().hex()