idiot dumb stupid moron

This commit is contained in:
Lynne Megido 2020-08-24 01:25:43 +10:00
parent ccaf759dea
commit f604947e9a
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -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)