mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 14:48:18 +00:00
linter fixes
This commit is contained in:
parent
6aa89fe608
commit
45141c8a9b
@ -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)
|
||||
|
@ -436,6 +436,7 @@ class DashboardEntry(object):
|
||||
return False
|
||||
return self.storage.web_server_enabled
|
||||
|
||||
|
||||
class MainRequestHandler(BaseHandler):
|
||||
@authenticated
|
||||
def get(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user