Skip to content

Fix unsubscribe()'s permanent KeyError#194

Merged
marcelveldt merged 1 commit intomusic-assistant:mainfrom
lmagyar:fix-unsubscribe
Jun 17, 2024
Merged

Fix unsubscribe()'s permanent KeyError#194
marcelveldt merged 1 commit intomusic-assistant:mainfrom
lmagyar:fix-unsubscribe

Conversation

@lmagyar
Copy link
Copy Markdown
Contributor

@lmagyar lmagyar commented Jun 17, 2024

File "Z:\xxx.venv\Lib\site-packages\hass_client\client.py", line 257, in remove_listener
if "subscribe" not in message_base["type"]:
~~~~~~~~~~~~^^^^^^^^
KeyError: 'type'

  File "Z:\xxx\.venv\Lib\site-packages\hass_client\client.py", line 257, in remove_listener
    if "subscribe" not in message_base["type"]:
                          ~~~~~~~~~~~~^^^^^^^^
KeyError: 'type'
@marcelveldt marcelveldt merged commit 5f6e326 into music-assistant:main Jun 17, 2024
@lmagyar lmagyar deleted the fix-unsubscribe branch June 18, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants