Fix pylint 1.7.2 no-else-return issues (#8361)
* Fix pylint 1.7.2 no-else-return issues * Update tomato.py
This commit is contained in:
parent
5779d64e98
commit
46e030662d
111 changed files with 305 additions and 455 deletions
|
@ -74,8 +74,8 @@ def get_service(hass, config, discovery_info=None):
|
|||
|
||||
if mail_service.connection_is_valid():
|
||||
return mail_service
|
||||
else:
|
||||
return None
|
||||
|
||||
return None
|
||||
|
||||
|
||||
class MailNotificationService(BaseNotificationService):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue