diff --git a/buypeeb.py b/buypeeb.py index e82152b..8b79b67 100755 --- a/buypeeb.py +++ b/buypeeb.py @@ -61,7 +61,7 @@ class WatchlistUpdater(Thread): with ProcessPool(max_workers = 4) as pool: if self.update_all: for id, item in self.app.settings.watchlist.items(): - if not (item.ready or item.updating): + if not item.updating: item.ready = False self.app.updateListItem(id) future = pool.schedule(item.update) @@ -69,7 +69,7 @@ class WatchlistUpdater(Thread): else: for item in self.app.settings.outdated_items(): - if not(item.ready or item.updating): + if item.updating: item.ready = False self.app.updateListItem(item.id) future = pool.schedule(item.update)