fix: protobuf version, misc

This commit is contained in:
Bingsu
2023-05-01 11:16:39 +09:00
parent cd941a51ed
commit 9c24105ed1
5 changed files with 47 additions and 18 deletions

View File

@@ -19,7 +19,9 @@ if ext_path.exists():
if not controlnet_exists and ext_builtin_path.exists():
controlnet_exists = any(
p.name == "sd-webui-controlnet" for p in ext_builtin_path.iterdir()
p.name == "sd-webui-controlnet"
for p in ext_builtin_path.iterdir()
if p.is_dir()
)
if controlnet_exists: