mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
oops
This commit is contained in:
parent
9b386b6a46
commit
bc90617eec
@ -106,7 +106,7 @@ def font_dirs():
|
||||
paths = {os.path.normcase(r'C:\Windows\Fonts')}
|
||||
for which in (winutil.CSIDL_FONTS, winutil.CSIDL_LOCAL_APPDATA, winutil.CSIDL_APPDATA):
|
||||
try:
|
||||
path = winutil.special_folder_path(winutil.CSIDL_FONTS)
|
||||
path = winutil.special_folder_path(which)
|
||||
except ValueError:
|
||||
continue
|
||||
if which != winutil.CSIDL_FONTS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user