From 0c86a7918fb186ee0aadd00d728d61defb3b2804 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 Nov 2024 09:10:35 +0530 Subject: [PATCH] Add issue links --- src/calibre/ebooks/unihandecode/jadecoder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/ebooks/unihandecode/jadecoder.py b/src/calibre/ebooks/unihandecode/jadecoder.py index 4f654c0049..cd05c249d8 100644 --- a/src/calibre/ebooks/unihandecode/jadecoder.py +++ b/src/calibre/ebooks/unihandecode/jadecoder.py @@ -33,6 +33,7 @@ from calibre.ebooks.unihandecode.unidecoder import Unidecoder # pykakasi uses paths for its dictionaries rather than using the # Traversable API of importlib.resources so we have to hack around it, sigh. +# https://codeberg.org/miurahr/pykakasi/pulls/174 def dictdata(dbfile: str): t = files('pykakasi') q = t.joinpath('data').joinpath(dbfile) @@ -67,6 +68,7 @@ class Jadecoder(Unidecoder): # We have to use the deprecated API as the new API does not capitalize # words. Sigh. + # https://codeberg.org/miurahr/pykakasi/issues/172 with warnings.catch_warnings(): warnings.simplefilter("ignore") self.kakasi = kakasi()