From cbf66db398ccf328813a14789e67826e087b879a Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Tue, 4 Feb 2025 22:01:50 +0800 Subject: [PATCH] fix: remove trailing whitespace (#43) Signed-off-by: Frost Ming --- src/comfy_pack/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comfy_pack/service.py b/src/comfy_pack/service.py index 4d49083..9e670a2 100644 --- a/src/comfy_pack/service.py +++ b/src/comfy_pack/service.py @@ -40,7 +40,7 @@ def _get_workspace() -> Path: from bentoml._internal.configuration.containers import BentoMLContainer snapshot = BASE_DIR / "snapshot.json" - checksum = hashlib.md5(snapshot.read_bytes()).hexdigest() + checksum = hashlib.md5(snapshot.read_bytes().strip()).hexdigest() wp = ( Path(BentoMLContainer.bentoml_home.get()) / "run" / "comfy_workspace" / checksum )