Skip to content

Commit

Permalink
fix AUTOMATIC1111#16169 Py 3.9 compatibility
Browse files Browse the repository at this point in the history
Co-Authored-By: SLAPaper Pang <slapaper.pku@gmail.com>
  • Loading branch information
2 people authored and ruchej committed Sep 30, 2024
1 parent 000a8ca commit 16bf0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xyz_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,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'
Expand Down

0 comments on commit 16bf0ba

Please sign in to comment.