idiot dumb stupid moron
This commit is contained in:
parent
ccaf759dea
commit
f604947e9a
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class WatchlistUpdater(Thread):
|
||||||
with ProcessPool(max_workers = 4) as pool:
|
with ProcessPool(max_workers = 4) as pool:
|
||||||
if self.update_all:
|
if self.update_all:
|
||||||
for id, item in self.app.settings.watchlist.items():
|
for id, item in self.app.settings.watchlist.items():
|
||||||
if not (item.ready or item.updating):
|
if not item.updating:
|
||||||
item.ready = False
|
item.ready = False
|
||||||
self.app.updateListItem(id)
|
self.app.updateListItem(id)
|
||||||
future = pool.schedule(item.update)
|
future = pool.schedule(item.update)
|
||||||
|
@ -69,7 +69,7 @@ class WatchlistUpdater(Thread):
|
||||||
|
|
||||||
else:
|
else:
|
||||||
for item in self.app.settings.outdated_items():
|
for item in self.app.settings.outdated_items():
|
||||||
if not(item.ready or item.updating):
|
if item.updating:
|
||||||
item.ready = False
|
item.ready = False
|
||||||
self.app.updateListItem(item.id)
|
self.app.updateListItem(item.id)
|
||||||
future = pool.schedule(item.update)
|
future = pool.schedule(item.update)
|
||||||
|
|
Loading…
Reference in a new issue