Commit 3bdcb7ef1f

3bdcb7ef1ff3aa5649b9ca5af0795c11704072a1

parent: b9b380ccdd

Unsigned

cmc <hello@cleberg.net> · 2026-02-04 01:05 UTC

move from lower() to casefold() for safer checking

Layout: unified · split

build.py +1 −1
@@ -348,7 +348,7 @@ def main():
348348 css_src = theme_dir / "styles.css"
349349 css_min = theme_dir / "styles.min.css"
350350
351 env = os.environ.get("ENV", "").lower()
351 env = os.environ.get("ENV", "").casefold()
352352 if env == "prod":
353353 print("Environment: Production")
354354 method = prompt("Publishing on remote or LAN? [r|l] ").lower()