diff --git a/duplicateCheck.py b/duplicateCheck.py index 9ccc354..0ce3844 100644 --- a/duplicateCheck.py +++ b/duplicateCheck.py @@ -35,7 +35,7 @@ def calchashes(): filehashes = {} for file in files: hash = quickhash(file) - if hash = None: continue + if hash == None: continue ## Inefficient to use a catch on every non-duplicate (most of the files) try: filehashes[hash].append(file) except: filehashes[hash] = [file]