From 4a0b742d2d812f99fb6757e3c553073fa9e338a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 2 Apr 2022 12:17:14 +0530 Subject: [PATCH] ... --- src/calibre/gui2/store/search/search.py | 2 +- src/calibre/scraper/simple.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/search/search.py b/src/calibre/gui2/store/search/search.py index 61622fd006..822e78393e 100644 --- a/src/calibre/gui2/store/search/search.py +++ b/src/calibre/gui2/store/search/search.py @@ -200,7 +200,7 @@ class SearchDialog(QDialog, Ui_Dialog): self.results_view.model().set_query(query) # 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 # to a don't have an unfair advantage over # plugins further from a. diff --git a/src/calibre/scraper/simple.py b/src/calibre/scraper/simple.py index 140545f541..962eb2c56c 100644 --- a/src/calibre/scraper/simple.py +++ b/src/calibre/scraper/simple.py @@ -59,7 +59,7 @@ class Overseer: overseers.append(weakref.ref(self)) def worker_for_source(self, source): - wname = f'{source}-{get_ident()}' + wname = f'{source}::{get_ident()}' with self.lock: ans = self.workers.get(wname) if ans is None: