Skip to content

Commit

Permalink
Fixed dependency skip (close #262)
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Dec 18, 2020
1 parent cf22903 commit c09e6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CB/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c09e6bc

Please sign in to comment.