Merge pull request #439 from robinjhuang/main

Remove unused variable.
This commit is contained in:
Mr. For Example
2025-01-24 12:16:53 -06:00
committed by GitHub
+1 -4
View File
@@ -1,11 +1,8 @@
import server
import folder_paths as comfy_paths
import os
from ..shared_utils.log_utils import cstr
ROOT_PATH = os.path.join(comfy_paths.get_folder_paths("custom_nodes")[0], "ComfyUI-3D-Pack")
web = server.web
SUPPORTED_VIEW_EXTENSIONS = (
@@ -38,4 +35,4 @@ async def view_file(request):
if filepath.lower().endswith(SUPPORTED_VIEW_EXTENSIONS) and os.path.exists(filepath):
return web.FileResponse(filepath)
return web.Response(status=404)
return web.Response(status=404)