From 8495ce96a3148ca1ed076a1a7920ad510f8f5bbc Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 3 Mar 2019 16:43:51 +0100 Subject: [PATCH] Lint tornado got updated, broke pylint --- esphome/dashboard/dashboard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esphome/dashboard/dashboard.py b/esphome/dashboard/dashboard.py index 4c7b8f9a76..b420306456 100644 --- a/esphome/dashboard/dashboard.py +++ b/esphome/dashboard/dashboard.py @@ -201,6 +201,7 @@ class DownloadBinaryRequestHandler(BaseHandler): self.redirect('/login') return + # pylint: disable=no-value-for-parameter configuration = self.get_argument('configuration') storage_path = ext_storage_path(CONFIG_DIR, configuration) storage_json = StorageJSON.load(storage_path) @@ -355,6 +356,7 @@ class EditRequestHandler(BaseHandler): if not self.is_authenticated(): self.redirect('/login') return + # pylint: disable=no-value-for-parameter configuration = self.get_argument('configuration') if not is_allowed(configuration): self.set_status(401) @@ -368,6 +370,7 @@ class EditRequestHandler(BaseHandler): if not self.is_authenticated(): self.redirect('/login') return + # pylint: disable=no-value-for-parameter configuration = self.get_argument('configuration') if not is_allowed(configuration): self.set_status(401)