Remove unused variable.
This commit is contained in:
+1
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user