Skip to content

Commit b1695c1

Browse files
w-e-wSLAPaper
andcommitted
fix #16169 Py 3.9 compatibility
Co-Authored-By: SLAPaper Pang <[email protected]>
1 parent bad47dc commit b1695c1

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)