forked from LBRYCommunity/lbry-sdk
Refactor the comparison involving not
Signed-off-by: shubhendra <withshubh@gmail.com>
This commit is contained in:
parent
68399ca31c
commit
87fe5c6101
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ async def checkcontrolling(daemon: Daemon, db: SQLDB):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if not len(sys.argv) == 3:
|
if len(sys.argv) != 3:
|
||||||
print("usage: <db_file_path> <lbrycrd_url>")
|
print("usage: <db_file_path> <lbrycrd_url>")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
db_path, lbrycrd_url = sys.argv[1:] # pylint: disable=W0632
|
db_path, lbrycrd_url = sys.argv[1:] # pylint: disable=W0632
|
||||||
|
|
Loading…
Reference in a new issue