This commit is contained in:
Lex Berezhny 2019-01-21 23:33:10 -05:00
parent d0230b4893
commit d5f2832b2f

View file

@ -194,8 +194,8 @@ def main(argv=None):
return 0
command_index = 0
for i in range(len(argv)):
if argv[i] == command_before_args:
for i, argv_i in enumerate(argv):
if argv_i == command_before_args:
command_index = i
break