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')
|
print('No XML file in command line')
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if len(argv) == 1 and os.path.isdir(argv):
|
if len(argv) == 1 and os.path.isdir(argv[0]):
|
||||||
files = glob.glob(argv + '/**/*.xml', recursive=True)
|
files = glob.glob(argv[0] + '/**/*.xml', recursive=True)
|
||||||
else:
|
else:
|
||||||
files = argv
|
files = argv
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user