From 0e7d3af474f550ba4b1ce2b90c3fb1eb909ef76f Mon Sep 17 00:00:00 2001 From: Feramance Date: Mon, 1 Jul 2024 16:41:43 +0200 Subject: [PATCH] Quick fix file handling --- qBitrr/arss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 734bea3a..cf7d8bc9 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -2716,7 +2716,7 @@ def folder_cleanup(self, downloads_id: str | None, folder: pathlib.Path): if self.file_is_probeable(file): self.logger.trace("Folder Cleanup: File is a valid media type: %s", file) probeable += 1 - if not self.file_extension_allowlist: + elif not self.file_extension_allowlist: self.logger.trace("Folder Cleanup: File has an allowed extension: %s", file) if self.file_is_probeable(file): self.logger.trace("Folder Cleanup: File is a valid media type: %s", file)