]> xmof Git - DeDRM.git/commitdiff
Identity is not the same thing as equality in Python
authorChristian Clauss <cclauss@me.com>
Mon, 20 Jan 2020 12:54:20 +0000 (13:54 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 12:54:20 +0000 (13:54 +0100)
dedrm_src/mobidedrm.py

index 501aa2d5e71f8b31aca3616daf70d5c9898d81d7..cc7baf23c57893fda445b7db2873763fa0fe9700 100644 (file)
@@ -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 = []