From c09e6bcb665807f001003311dea9af2e86c1c508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Fri, 18 Dec 2020 18:45:37 +0100 Subject: [PATCH] Fixed dependency skip (close #262) --- CB/Core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CB/Core.py b/CB/Core.py index dfc47e7..88b1919 100644 --- a/CB/Core.py +++ b/CB/Core.py @@ -321,8 +321,8 @@ def update_addon(self, url, update, force): else: modified = self.check_checksum(old, False) blocked = self.check_if_blocked(old) + new.dependencies = None if url in self.config['IgnoreDependencies'].keys() else new.dependencies if force or (new.currentVersion != old['Version'] and update and not modified and not blocked): - new.dependencies = None if url in self.config['IgnoreDependencies'].keys() else new.dependencies new.get_addon() self.cleanup(old['Directories']) new.install(self.path)