Skip to content

Commit

Permalink
Fix default for loading games file ps4 (home-assistant#36592)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Jun 9, 2020
1 parent fb7af03 commit 94c3d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/ps4/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def load_games(hass: HomeAssistantType, unique_id: str) -> dict:
"""Load games for sources."""
g_file = hass.config.path(GAMES_FILE.format(unique_id))
try:
games = load_json(g_file, dict)
games = load_json(g_file)
except HomeAssistantError as error:
games = {}
_LOGGER.error("Failed to load games file: %s", error)
Expand Down

0 comments on commit 94c3d9b

Please sign in to comment.