Minor style fixes
parent
8f418831a1
commit
379ae11405
|
@ -7,7 +7,6 @@ https://home-assistant.io/components/notify.twilio_call/
|
||||||
import logging
|
import logging
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
@ -63,8 +62,8 @@ class TwilioCallNotificationService(BaseNotificationService):
|
||||||
if message.startswith("http://"):
|
if message.startswith("http://"):
|
||||||
twimlet_url = message
|
twimlet_url = message
|
||||||
else:
|
else:
|
||||||
twimlet_url = 'http://twimlets.com/message?Message='
|
twimlet_url = "http://twimlets.com/message?Message="
|
||||||
twimlet_url += urllib.parse.quote(message, safe='')
|
twimlet_url += urllib.parse.quote(message, safe="")
|
||||||
|
|
||||||
for target in targets:
|
for target in targets:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue