Allow both http and https URLs

pull/5580/head
Robbie Trencheny 2017-01-28 12:46:34 -08:00
parent 379ae11405
commit b7bb31cb95
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class TwilioCallNotificationService(BaseNotificationService):
_LOGGER.info("At least 1 target is required")
return
if message.startswith("http://"):
if message.startswith(("http://", "https://")):
twimlet_url = message
else:
twimlet_url = "http://twimlets.com/message?Message="