From: Christian Clauss Date: Mon, 20 Jan 2020 12:54:20 +0000 (+0100) Subject: Identity is not the same thing as equality in Python X-Git-Url: http://git.xmof.duckdns.org/?a=commitdiff_plain;h=1fd972ee1735ce48b29c257571e6a7786e73e4b6;p=DeDRM.git Identity is not the same thing as equality in Python --- diff --git a/dedrm_src/mobidedrm.py b/dedrm_src/mobidedrm.py index 501aa2d..cc7baf2 100644 --- a/dedrm_src/mobidedrm.py +++ b/dedrm_src/mobidedrm.py @@ -524,7 +524,7 @@ def cli_main(): else: infile = argv[1] outfile = argv[2] - if len(argv) is 4: + if len(argv) == 4: pidlist = argv[3].split(',') else: pidlist = []