Skip to content

Commit

Permalink
Fix disabled transforms not being casefolded before comparison
Browse files Browse the repository at this point in the history
This breaks with the later casefold down the line
  • Loading branch information
ozxybox committed Nov 7, 2024
1 parent ae04cf0 commit caa35af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hammeraddons/postcompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit caa35af

Please sign in to comment.