Fixed url
This commit is contained in:
parent
c6c2950ed6
commit
6ad1a9f957
@ -26,7 +26,7 @@ def sendmessage(message):
|
|||||||
urllib3.disable_warnings()
|
urllib3.disable_warnings()
|
||||||
# http_client.HTTPConnection.debuglevel = 1
|
# http_client.HTTPConnection.debuglevel = 1
|
||||||
|
|
||||||
url = ("%s/api/webhook/%s" % (baseurl, webhook))
|
url = ("%s/skill/tellops/%s" % (baseurl, webhook))
|
||||||
|
|
||||||
r = requests.post(url, json = { 'message': mymessage, 'notify': notify, 'tts': args.tts })
|
r = requests.post(url, json = { 'message': mymessage, 'notify': notify, 'tts': args.tts })
|
||||||
if r.status_code == 200:
|
if r.status_code == 200:
|
||||||
@ -39,7 +39,7 @@ def sendmessage(message):
|
|||||||
ran = True
|
ran = True
|
||||||
|
|
||||||
|
|
||||||
__version__ = "1.3.0"
|
__version__ = "1.3.1"
|
||||||
versionstring='TellMe v' + __version__
|
versionstring='TellMe v' + __version__
|
||||||
|
|
||||||
signal.signal(signal.SIGINT, signal_handler)
|
signal.signal(signal.SIGINT, signal_handler)
|
||||||
|
Loading…
Reference in New Issue
Block a user