8000 fix for a bug introduced with media support in #8282 by MikeChristianson · Pull Request #8513 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix for a bug introduced with media support in #8282 #8513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

MikeChristianson
Copy link
Contributor
@MikeChristianson MikeChristianson commented Jul 17, 2017

fix for a bug introduced with media support in #8282

data may be None if twitter data property not present in configuration

  File "./homeassistant/components/notify/twitter.py", line 63, in send_message
    media = data.get(ATTR_MEDIA)

Related issue (if applicable): fixes #8514

data may be None if twitter data property unconfigured:
  File "/opt/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/notify/twitter.py", line 63, in send_message
    media = data.get(ATTR_MEDIA)
@mention-bot
Copy link

@MikeChristianson, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @HydrelioxGitHub and @pvizeli to be potential reviewers.

Copy link
Member
@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🐦

@fabaff fabaff merged commit c67c20f into home-assistant:dev Jul 17, 2017
@MikeChristianson
Copy link
Contributor Author

Thanks @fabaff!

@balloob balloob mentioned this pull request Jul 29, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
…ome-assistant#8513)

data may be None if twitter data property unconfigured:
  File "/opt/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/notify/twitter.py", line 63, in send_message
    media = data.get(ATTR_MEDIA)
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Twitter notification causing traceback after 0.49 upgrade
5 participants
0