mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 03:13:14 +02:00
Report undecodeable font paths
This commit is contained in:
parent
148c9fb57a
commit
4d60715c8a
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ def fc_list():
|
|||
try:
|
||||
ans.append(d.decode(filesystem_encoding))
|
||||
except ValueError:
|
||||
prints('Ignoring undecodeable font path: %r' % d)
|
||||
continue
|
||||
end(str_list)
|
||||
if len(ans) < 3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue