Fix argv mistake

selenium-screenshot-testing
Kevin Chung 2018-04-15 16:18:16 -04:00
parent f4d89e25ab
commit 5cc89e47bb
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import sys
app = create_app()
with app.app_context():
if len(sys.argv) == 2:
if len(sys.argv) == 3:
segments = sys.argv[2].split(',')
else:
segments = None