Remove unused variable.

This commit is contained in:
Robin Huang
2025-01-23 16:41:59 -08:00
parent 62a3e7c247
commit a5f00f20ba
+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)