Skip to content
Permalink
Browse files

Sample deletion didn't work for 1 sample file

  • Loading branch information...
Safihre committed Jun 17, 2019
1 parent 1c107e0 commit d7fc7f02de6ffe84a94635cd6a71ce8083b36548
Showing with 1 addition and 1 deletion.
  1. +1 −1 sabnzbd/postproc.py
@@ -922,7 +922,7 @@ def remove_samples(path):
files_to_delete.append(os.path.join(root, file_to_match))

# Make sure we skip false-positives
if 1 < len(files_to_delete) < nr_files:
if len(files_to_delete) < nr_files:
for path in files_to_delete:
try:
logging.info("Removing unwanted sample file %s", path)

0 comments on commit d7fc7f0

Please sign in to comment.
You can’t perform that action at this time.