Allowed for wildcard paths in multiple platforms in pilfile script

This commit is contained in:
Andrew Murray 2016-03-29 18:20:39 +11:00
parent 4d234fb54d
commit d0fc67ff37

View File

@ -67,7 +67,6 @@ logging.basicConfig(level=logging_level)
def globfix(files):
# expand wildcards where necessary
if sys.platform == "win32":
out = []
for file in files:
if glob.has_magic(file):
@ -75,7 +74,6 @@ def globfix(files):
else:
out.append(file)
return out
return files
for file in globfix(args):
try: