Mise à jour de 'run.py'
This commit is contained in:
parent
32d682383b
commit
2343f3739e
4
run.py
4
run.py
@ -247,8 +247,8 @@ def main(argv):
|
||||
print('No XML file in command line')
|
||||
sys.exit()
|
||||
|
||||
if len(argv) == 1 and os.path.isdir(argv):
|
||||
files = glob.glob(argv + '/**/*.xml', recursive=True)
|
||||
if len(argv) == 1 and os.path.isdir(argv[0]):
|
||||
files = glob.glob(argv[0] + '/**/*.xml', recursive=True)
|
||||
else:
|
||||
files = argv
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user