Skip to content

Commit

Permalink
Fixed small bug (KeyError: 'AutomaticPlayer')
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandcracker committed May 27, 2024
1 parent bd46bbd commit 204e86b
Show file tree
Hide file tree
Showing 2 changed files with 2 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 +1 @@
__version__ = "0.1.11"
__version__ = "0.1.12"
2 changes: 1 addition & 1 deletion src/gucken/gucken.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ async def play(
self, series_search_result: SearchResult, episodes: list[Episode], index: int
) -> None:
p = gucken_settings_manager.settings["settings"]["player"]["player"]
if p == Select.BLANK:
if p == "AutomaticPlayer":
_player = self.detected_player
else:
_player = player_map[p]()
Expand Down

0 comments on commit 204e86b

Please sign in to comment.