Fix string not being f-string when printing logging error

This commit is contained in:
Silver
2026-03-05 11:33:05 +01:00
committed by GitHub
parent 6621f0c008
commit 7506c7baed
+1 -1
View File
@@ -28,7 +28,7 @@ try:
import triton import triton
logging.info(f"Found triton package installed. Enabling comfy-kitchen triton backend.") logging.info(f"Found triton package installed. Enabling comfy-kitchen triton backend.")
except ImportError as e: except ImportError as e:
logging.error("Failed to import triton, Error: {e}, the comfy-kitchen triton backend will not be available.") logging.error(f"Failed to import triton, Error: {e}, the comfy-kitchen triton backend will not be available.")
ck.registry.disable("triton") ck.registry.disable("triton")
else: else:
ck.registry.disable("triton") ck.registry.disable("triton")