Skip to content

Commit 871c27e

Browse files
author
Pannous
committed
1 parent dacad58 commit 871c27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

letter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
def find_fonts():
3838
if platform == "darwin":
3939
os.system("mdfind -name '.ttf' | grep '.ttf$' | iconv -f utf-8 -t ascii > fonts.list")
40-
elif platform == "windows":
40+
elif "win" in platform:
4141
print("sorry, how do I find fonts on Windows? falling back to Menlo.ttf")
4242
return ["Menlo.ttf"]
4343
else:

0 commit comments

Comments
 (0)