Skip to content

Commit

Permalink
Fixed Android player 'detection'
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandcracker committed Jun 12, 2024
1 parent 88c2983 commit 3abe18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gucken/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
warnings.filterwarnings('ignore', message='Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')

__version__ = "0.2.2"
__version__ = "0.2.3"
4 changes: 3 additions & 1 deletion src/gucken/player/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

# This is just that you can check if the player is an Android player
class AndroidPlayer(Player):
pass
@classmethod
def is_available(cls) -> bool:
return True


class AndroidChoosePlayer(AndroidPlayer):
Expand Down

0 comments on commit 3abe18a

Please sign in to comment.