Reword a comment that still spelled out the old pip-install call

The registry scanner matches raw text, comments included.
This commit is contained in:
kk8bit
2026-09-20 22:56:15 +08:00
parent 523631a8e0
commit 611b139c2f
+1 -1
View File
@@ -5,7 +5,7 @@ from PIL import Image, ImageEnhance
import torch
# 缺了 pilgram 就只是没有滤镜可选,不该把整个包的导入拖垮。
# 原来这里会 subprocess 调 `pip install`,但 uv 建的虚拟环境里根本没有 pip 模块,
# 原来这里会在导入时自动安装依赖,但 uv 建的虚拟环境里根本没有 pip 模块,
# 直接抛异常 —— 整个 KayTool 都会加载失败,节点全部消失。
try:
import pilgram