Skip to content

Commit

Permalink
Merge pull request #9 from stephenworsley/command-read-bugfix
Browse files Browse the repository at this point in the history
fixed logic for command reading
  • Loading branch information
bjlittle authored Sep 13, 2019
2 parents e8189ab + 3efbf52 commit 00ca6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kapture/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def usage():
LOG_PATH = sys.argv[2]
sys.argv = sys.argv[:1] + sys.argv[3:]

if sys.argv[1] == '-c' or sys.argv[1] == '-m' and len(sys.argv) < 3:
if (sys.argv[1] == '-c' or sys.argv[1] == '-m') and len(sys.argv) < 3:
usage()

main(sys.argv[1:])

0 comments on commit 00ca6a5

Please sign in to comment.