From 45141c8a9bd35d4b817ab072722fb3e49df4aea9 Mon Sep 17 00:00:00 2001 From: gitolicious Date: Sat, 25 May 2019 23:54:06 +0000 Subject: [PATCH] linter fixes --- esphome/core.py | 2 +- esphome/dashboard/dashboard.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/core.py b/esphome/core.py index 6e4f4bccd1..ef0841881b 100644 --- a/esphome/core.py +++ b/esphome/core.py @@ -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) diff --git a/esphome/dashboard/dashboard.py b/esphome/dashboard/dashboard.py index 2ff4384fd8..567850049a 100644 --- a/esphome/dashboard/dashboard.py +++ b/esphome/dashboard/dashboard.py @@ -436,6 +436,7 @@ class DashboardEntry(object): return False return self.storage.web_server_enabled + class MainRequestHandler(BaseHandler): @authenticated def get(self):