Report undecodeable font paths

This commit is contained in:
Kovid Goyal 2013-11-22 08:50:23 +05:30
parent 148c9fb57a
commit 4d60715c8a

View File

@ -73,6 +73,7 @@ def fc_list():
try: try:
ans.append(d.decode(filesystem_encoding)) ans.append(d.decode(filesystem_encoding))
except ValueError: except ValueError:
prints('Ignoring undecodeable font path: %r' % d)
continue continue
end(str_list) end(str_list)
if len(ans) < 3: if len(ans) < 3: