mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 20:06:24 +01:00
oops
This commit is contained in:
parent
9b386b6a46
commit
bc90617eec
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue