Skip to content

Commit caa35af

Browse files
committed
Fix disabled transforms not being casefolded before comparison
This breaks with the later casefold down the line
1 parent ae04cf0 commit caa35af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hammeraddons/postcompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ async def main(argv: List[str]) -> None:
230230
studiomdl_loc,
231231
transform_conf,
232232
pack_tags,
233-
disabled={name.strip() for name in conf.opts.get(config.DISABLED_TRANSFORMS).split(',')},
233+
disabled={name.strip().casefold() for name in conf.opts.get(config.DISABLED_TRANSFORMS).split(',')},
234234
modelcompile_dump=modelcompile_dump,
235235
)
236236

0 commit comments

Comments
 (0)