diff --git a/CB/Core.py b/CB/Core.py index 9f73f25..70be5c9 100644 --- a/CB/Core.py +++ b/CB/Core.py @@ -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): diff --git a/CB/WoWInterface.py b/CB/WoWInterface.py index 8447c94..af9fccc 100644 --- a/CB/WoWInterface.py +++ b/CB/WoWInterface.py @@ -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 = []