Skip to content

Commit

Permalink
Update notify.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nesror authored Jun 27, 2022
1 parent ccdee25 commit d2bde13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/wework_notify/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def send_message(self, message="", **kwargs):
elif msgtype == "textcard":
msg = {"title": title, "description": message, "url": url}
elif msgtype == "news":
if !picurl.startswith("http"):
if not picurl.startswith("http"):
curl = (
"https://qyapi.weixin.qq.com/cgi-bin/media/uploadimg?access_token="
+ self.get_access_token()
Expand Down

0 comments on commit d2bde13

Please sign in to comment.