From 5101ca89deedf6b47c7d8d23288a443140db5503 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 14 Dec 2021 20:14:55 +0530 Subject: [PATCH] Fix #1954645 [Private bug](https://bugs.launchpad.net/calibre/+bug/1954645) --- src/pyj/read_book/ui.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/ui.pyj b/src/pyj/read_book/ui.pyj index c070816f51..9ea2f9815f 100644 --- a/src/pyj/read_book/ui.pyj +++ b/src/pyj/read_book/ui.pyj @@ -470,7 +470,7 @@ class ReadUI: for fname in files_left: if fname is not raster_cover_name: - start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/, '/')) + start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/g, '/')) def ensure_maths(self, proceed): self.db.get_mathjax_info(def(mathjax_info):