Skip to content

Commit

Permalink
Merge pull request #4 from moi15moi/Correct-android-version-detector
Browse files Browse the repository at this point in the history
Correct android version detector
  • Loading branch information
moi15moi authored Jun 9, 2023
2 parents 047d7dc + d4d9ca3 commit 6e57b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion find_system_fonts_filename/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .fonts_filename import get_system_fonts_filename
from .exceptions import AndroidLibraryNotFound, FontConfigNotFound, OSNotSupported

__version__ = "0.1.0"
__version__ = "0.1.1"
2 changes: 1 addition & 1 deletion find_system_fonts_filename/fonts_filename.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_system_fonts_filename() -> Set[str]:

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

0 comments on commit 6e57b4e

Please sign in to comment.