From 6209f6681b3eacc919a6a1af2e82e92ce70db576 Mon Sep 17 00:00:00 2001 From: ozxybox Date: Thu, 7 Nov 2024 00:07:48 -0600 Subject: [PATCH] Fix disabled transforms not being casefolded before comparison This breaks with the later casefold down the line --- src/hammeraddons/postcompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hammeraddons/postcompiler.py b/src/hammeraddons/postcompiler.py index 7cb3a102..fb2645dc 100644 --- a/src/hammeraddons/postcompiler.py +++ b/src/hammeraddons/postcompiler.py @@ -230,7 +230,7 @@ async def main(argv: List[str]) -> None: studiomdl_loc, transform_conf, pack_tags, - disabled={name.strip() for name in conf.opts.get(config.DISABLED_TRANSFORMS).split(',')}, + disabled={name.strip().casefold() for name in conf.opts.get(config.DISABLED_TRANSFORMS).split(',')}, modelcompile_dump=modelcompile_dump, )