mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b79191ce90
commit
9a22185fd9
@ -1239,7 +1239,9 @@ class BasicNewsRecipe(Recipe):
|
|||||||
for req in self.jobs:
|
for req in self.jobs:
|
||||||
tp.putRequest(req, block=True, timeout=0)
|
tp.putRequest(req, block=True, timeout=0)
|
||||||
|
|
||||||
self.report_progress(0, _('Starting download [%d thread(s)]...')%self.simultaneous_downloads)
|
self.report_progress(0, ngettext(
|
||||||
|
'Starting download in a single thread...',
|
||||||
|
'Starting download [{} threads]...', self.simultaneous_downloads).format(self.simultaneous_downloads))
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
tp.poll()
|
tp.poll()
|
||||||
@ -1799,4 +1801,3 @@ class CalibrePeriodical(BasicNewsRecipe):
|
|||||||
except:
|
except:
|
||||||
self.log.exception('Failed to compile downloaded recipe')
|
self.log.exception('Failed to compile downloaded recipe')
|
||||||
return os.path.abspath('index.html')
|
return os.path.abspath('index.html')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user