Commit 6e97cb227ce3667d89a00572be320f90cbd6e869

Authored by selurvedu
1 parent 8cf54fa8

Support --outputdir in runner.py

Showing 1 changed file with 1 additions and 1 deletions
@@ -8,7 +8,7 @@ sys.path.append(CHROMEDRV_PATH) @@ -8,7 +8,7 @@ sys.path.append(CHROMEDRV_PATH)
8 8
9 def runner(): 9 def runner():
10 args = sys.argv[1:] 10 args = sys.argv[1:]
11 - if '-d' not in args: 11 + if '-d' not in args and '--outputdir' not in args:
12 directory = os.path.join(os.getcwd(), 'test_output') 12 directory = os.path.join(os.getcwd(), 'test_output')
13 if not os.path.exists(directory): 13 if not os.path.exists(directory):
14 os.mkdir(directory) 14 os.mkdir(directory)
Please register or login to post a comment