mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add issue links
This commit is contained in:
parent
3959627970
commit
0c86a7918f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user