aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-07-17 12:45:38 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-07-17 12:45:38 +0900
commit8941297ceb3e71fa16fd842b135786b0ebc1b2b1 (patch)
treeacf861122fc2830effd65175efc00cda738a3277 /scripts
parentc03856bfdf30fd0e061caefd60231eb86a983c71 (diff)
lowercase
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xyz_grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index bddc28c7..1010845e 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -147,7 +147,7 @@ def apply_face_restore(p, opt, x):
def apply_override(field, boolean: bool = False):
def fun(p, x, xs):
if boolean:
- x = True if x == "True" else False
+ x = True if x.lower() == "true" else False
p.override_settings[field] = x
return fun