From 72953b202a77a05795c09e23f883a78a4951993b Mon Sep 17 00:00:00 2001 From: StableLlama Date: Sat, 5 Jul 2025 00:19:45 +0200 Subject: [PATCH] Try to fix the linter --- src/basic_data_handling/path_nodes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/basic_data_handling/path_nodes.py b/src/basic_data_handling/path_nodes.py index 2de23ac..a3dca72 100644 --- a/src/basic_data_handling/path_nodes.py +++ b/src/basic_data_handling/path_nodes.py @@ -23,7 +23,7 @@ def load_image_helper(path: str): """Helper function to load an image from a path""" from PIL import Image, ImageOps try: - import pillow_jxl + import pillow_jxl # noqa: F401 - imported but unused, kept for JPEG XL support except ModuleNotFoundError: pass @@ -921,7 +921,7 @@ class PathSaveImageRGB(ComfyNodeABC): # Check if pillow_jxl is available for JXL support has_jxl_support = False try: - import pillow_jxl + import pillow_jxl # noqa: F401 - imported but unused, kept for JPEG XL support has_jxl_support = True except ModuleNotFoundError: # pillow_jxl is not installed @@ -1017,7 +1017,7 @@ class PathSaveImageRGBA(ComfyNodeABC): # Check if pillow_jxl is available for JXL support has_jxl_support = False try: - import pillow_jxl + import pillow_jxl # noqa: F401 - imported but unused, kept for JPEG XL support has_jxl_support = True except ModuleNotFoundError: # pillow_jxl is not installed