mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
212ad2a135
commit
4a0b742d2d
@ -200,7 +200,7 @@ class SearchDialog(QDialog, Ui_Dialog):
|
|||||||
self.results_view.model().set_query(query)
|
self.results_view.model().set_query(query)
|
||||||
|
|
||||||
# Plugins are in random order that does not change.
|
# Plugins are in random order that does not change.
|
||||||
# Randomize the ord of the plugin names every time
|
# Randomize the order of the plugin names every time
|
||||||
# there is a search. This way plugins closer
|
# there is a search. This way plugins closer
|
||||||
# to a don't have an unfair advantage over
|
# to a don't have an unfair advantage over
|
||||||
# plugins further from a.
|
# plugins further from a.
|
||||||
|
@ -59,7 +59,7 @@ class Overseer:
|
|||||||
overseers.append(weakref.ref(self))
|
overseers.append(weakref.ref(self))
|
||||||
|
|
||||||
def worker_for_source(self, source):
|
def worker_for_source(self, source):
|
||||||
wname = f'{source}-{get_ident()}'
|
wname = f'{source}::{get_ident()}'
|
||||||
with self.lock:
|
with self.lock:
|
||||||
ans = self.workers.get(wname)
|
ans = self.workers.get(wname)
|
||||||
if ans is None:
|
if ans is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user