Skip to content

Commit

Permalink
Removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Mar 18, 2019
1 parent 6d65360 commit 902fd12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions CB/Core.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ def update_addon(self, url, update, force):
old = self.check_if_installed(url)
if old:
new = self.parse_url(old['URL'])
if hasattr(new, 'pending') and new.pending == '1':
new.currentVersion = old['Version']
oldversion = old['Version']
modified = self.check_checksum(url)
if force or (new.currentVersion != old['Version'] and update and not modified):
Expand Down
1 change: 0 additions & 1 deletion CB/WoWInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def __init__(self, url):
self.name = self.payload['UIName']
self.downloadUrl = self.payload['UIDownload']
self.currentVersion = self.payload['UIVersion']
self.pending = self.payload['UIPending']
self.archive = None
self.directories = []

Expand Down

0 comments on commit 902fd12

Please sign in to comment.