mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
jsbrowser(): Fix typo causing some images to not be downloaded
Fixes images missing in the Time recipe
This commit is contained in:
parent
ed55e76ff4
commit
26f86ca987
@ -571,7 +571,7 @@ class Browser(QObject, FormsMixin):
|
||||
ans[url] = raw
|
||||
urls.discard(url)
|
||||
|
||||
while urls and time.time() - start_time > timeout and self.page.ready_state not in {'complete', 'completed'}:
|
||||
while urls and time.time() - start_time < timeout and self.page.ready_state not in {'complete', 'completed'}:
|
||||
get_resources()
|
||||
if urls:
|
||||
self.run_for_a_time(0.1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user