Style fixes

This commit is contained in:
Paulus Schoutsen committed 2015-11-08 22:21:02 -08:00
1 parent 3b3f5fe6fe
commit 98b4c27211
2 files changed
+6 -5

No files matched your search

+4 -4
View File
@@ -20,10 +20,10 @@ _LOGGER = logging.getLogger(__name__)
def get_service(hass, config):
""" Get the mail notification service. """
if not validate_config(
{DOMAIN: config},
{DOMAIN: ['server', 'port', 'sender', 'username', 'password',
'recipient']}, _LOGGER):
if not validate_config({DOMAIN: config},
{DOMAIN: ['server', 'port', 'sender', 'username',
'password', 'recipient']},
_LOGGER):
return None
smtp_server = config['server']