We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 046cd46 + 14a75b7 commit fedb162Copy full SHA for fedb162
lib/matplotlib/font_manager.py
@@ -189,7 +189,7 @@ def list_fonts(directory, extensions):
189
if sys.platform == 'win32' and directory == win32FontDirectory():
190
return [os.path.join(directory, filename)
191
for filename in os.listdir(directory)
192
- if os.path.isfile(filename)]
+ if os.path.isfile(os.path.join(directory, filename))]
193
else:
194
return [os.path.join(dirpath, filename)
195
# os.walk ignores access errors, unlike Path.glob.
0 commit comments