From 87fe5c6101ac865e8e78be2f3982f2ab9b8147da Mon Sep 17 00:00:00 2001 From: shubhendra Date: Fri, 26 Mar 2021 18:45:41 +0530 Subject: [PATCH] Refactor the comparison involving `not` Signed-off-by: shubhendra --- scripts/checktrie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checktrie.py b/scripts/checktrie.py index 4431f524c..4fa4743c0 100644 --- a/scripts/checktrie.py +++ b/scripts/checktrie.py @@ -64,7 +64,7 @@ async def checkcontrolling(daemon: Daemon, db: SQLDB): if __name__ == '__main__': - if not len(sys.argv) == 3: + if len(sys.argv) != 3: print("usage: ") sys.exit(1) db_path, lbrycrd_url = sys.argv[1:] # pylint: disable=W0632