1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00

linter fixes

This commit is contained in:
gitolicious 2019-05-25 23:54:06 +00:00
parent 6aa89fe608
commit 45141c8a9b
2 changed files with 2 additions and 1 deletions

View File

@ -599,7 +599,7 @@ class EsphomeCore(object):
try:
return self.config[CONF_WEB_SERVER] is not None
except KeyError:
False
return False
def add_job(self, func, *args, **kwargs):
coro = coroutine(func)

View File

@ -436,6 +436,7 @@ class DashboardEntry(object):
return False
return self.storage.web_server_enabled
class MainRequestHandler(BaseHandler):
@authenticated
def get(self):