mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-03 22:31:42 -08:00
Merge pull request #16192 from AUTOMATIC1111/patch-#16169
fix #16169 Py 3.9 compatibility
This commit is contained in:
commit
b2453d280a
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ def apply_size(p, x: str, xs) -> None:
|
|||
|
||||
|
||||
def find_vae(name: str):
|
||||
if name := name.strip().lower() in ('auto', 'automatic'):
|
||||
if (name := name.strip().lower()) in ('auto', 'automatic'):
|
||||
return 'Automatic'
|
||||
elif name == 'none':
|
||||
return 'None'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue