From dccda1af923eb0719d6788abe7dd1679c766a909 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Tue, 23 Apr 2019 01:57:57 +0200 Subject: [PATCH] Pass optionalRemoved return value --- plugins/OptionalManager/OptionalManagerPlugin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/OptionalManager/OptionalManagerPlugin.py b/plugins/OptionalManager/OptionalManagerPlugin.py index 3789a4c7..ea08a6b0 100644 --- a/plugins/OptionalManager/OptionalManagerPlugin.py +++ b/plugins/OptionalManager/OptionalManagerPlugin.py @@ -82,6 +82,11 @@ class ContentManagerPlugin(object): # Re-add to hashfield if we have other file with the same hash_id if self.isDownloaded(hash_id=hash_id, force_check_db=True): self.hashfield.appendHashId(hash_id) + else: + back = False + self.cache_is_pinned = {} + return back + return back def isDownloaded(self, inner_path=None, hash_id=None, force_check_db=False):