Skip to content

Commit

Permalink
case insensitive ips globbing
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Oct 1, 2021
1 parent be36c5e commit 12117a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion patches/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ def validate_patch_args(parser, args):
parser.error("A maximum of 8 SMB1 graphics mods can be specified.")

if args.smb1_graphics_glob:
args.smb1_graphics = list(Path("ips").glob("*.ips"))
ips_folder = Path("ips")
args.smb1_graphics = list(ips_folder.glob("*.ips"))
args.smb1_graphics.extend(list(ips_folder.glob("*.IPS")))

if args.internal_only:
args.slim = True
Expand Down

0 comments on commit 12117a5

Please sign in to comment.