We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1fc8c2 commit d8b3b37Copy full SHA for d8b3b37
1 file changed
regionfixer_core/world.py
@@ -1664,6 +1664,15 @@ def parse_paths(args):
1664
RegionSet -- A RegionSet object with all the regionfiles found in args
1665
"""
1666
1667
+ # windows shell doesn't parse wildcards, parse them here using glob
1668
+ expanded_args = []
1669
+ for arg in args:
1670
+ earg = glob(arg)
1671
+ # glob eats away any argument that doesn't match a file, keep those, they will be world folders
1672
+ if earg: expanded_args.extend(earg)
1673
+ else: expanded_args.append(arg)
1674
+ args = expanded_args
1675
+
1676
# parese the list of region files and worlds paths
1677
world_list = []
1678
region_list = []
0 commit comments