From b4f9261495979d88418ca9e3d36a1a3703df4b05 Mon Sep 17 00:00:00 2001 From: windowslucker1121 Date: Sun, 26 Feb 2023 14:12:25 +0100 Subject: [PATCH] fixed typo --- perplex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perplex.py b/perplex.py index 133ace6..acff67b 100755 --- a/perplex.py +++ b/perplex.py @@ -92,7 +92,7 @@ def build_map(movies, dest,printDoubles, directoryToRunOn = "" ,mapping=[] ): for i, old_name in enumerate(files): modifyedDirectory = str(directoryToRunOn).replace("\\", "/") modifyedOldName = str(old_name).replace("\\", "/") - if modifyedDirectory is not "" and not str(modifyedOldName).__contains__(modifyedDirectory): + if modifyedDirectory != "" and not str(modifyedOldName).__contains__(modifyedDirectory): print("skipping file because not in given directory " + old_name) continue counter = counter + 1;