Skip to content

Commit b2453d2

Browse files
Merge pull request #16192 from AUTOMATIC1111/patch-#16169
fix #16169 Py 3.9 compatibility
2 parents b4d62a0 + b1695c1 commit b2453d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/xyz_grid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def apply_size(p, x: str, xs) -> None:
118118

119119

120120
def find_vae(name: str):
121-
if name := name.strip().lower() in ('auto', 'automatic'):
121+
if (name := name.strip().lower()) in ('auto', 'automatic'):
122122
return 'Automatic'
123123
elif name == 'none':
124124
return 'None'

0 commit comments

Comments
 (0)