Skip to content

Commit

Permalink
Upgrade python_webex_bot to version 0.854
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-weqe committed Jun 28, 2020
1 parent c6f3f02 commit 4ef7df7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python_webex/v1/Message.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def send_markdown(self, room_id=None, markdown=None):
@ markdown: str => string with markdown information. For formatting information, we should
use https://dev-preview.webex.com/formatting-messages.html
"""
if room_id == None:
sys.exit("'room_id' is a requierd field")
Expand All @@ -74,7 +75,7 @@ def send_markdown(self, room_id=None, markdown=None):
"roomId": room_id,
"markdown": markdown
}

data = requests.post( self.URL + url_route, headers = self.headers, json=data )
return data

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

setuptools.setup(
name="python_webex_bot",
version="0.851",
version="0.854",

scripts=["python_webex_bot"],
author="Paul-weqe",
author_email="paul1tw1@gmail.com",
description="Add auth_token in initializer",
description="Enable sending markdown in messges",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Paul-weqe/python_webex_bot",
Expand Down

0 comments on commit 4ef7df7

Please sign in to comment.