Skip to content

Commit 4de5e38

Browse files
committed
Correct android version detector
1 parent 047d7dc commit 4de5e38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

find_system_fonts_filename/fonts_filename.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get_system_fonts_filename() -> Set[str]:
1313

1414
elif system_name == "Linux":
1515
# ANDROID_ROOT or ANDROID_BOOTLOGO - https://stackoverflow.com/a/66174754/15835974
16-
if any(t in environ.values() for t in ("ANDROID_ROOT", "ANDROID_BOOTLOGO")):
16+
if any(t in environ.keys() for t in ("ANDROID_ROOT", "ANDROID_BOOTLOGO")):
1717
from .android_fonts import AndroidFonts
1818
return AndroidFonts.get_system_fonts_filename()
1919
else:

0 commit comments

Comments
 (0)