From d5f2832b2f610f4ff90e610e39f3d8e34f052076 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 21 Jan 2019 23:33:10 -0500 Subject: [PATCH] pylint --- lbrynet/extras/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/extras/cli.py b/lbrynet/extras/cli.py index d7052c3f5..acac68f34 100644 --- a/lbrynet/extras/cli.py +++ b/lbrynet/extras/cli.py @@ -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