mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 07:28:10 +01:00
Lint
tornado got updated, broke pylint
This commit is contained in:
parent
55caf4f648
commit
8495ce96a3
1 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,7 @@ class DownloadBinaryRequestHandler(BaseHandler):
|
||||||
self.redirect('/login')
|
self.redirect('/login')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# pylint: disable=no-value-for-parameter
|
||||||
configuration = self.get_argument('configuration')
|
configuration = self.get_argument('configuration')
|
||||||
storage_path = ext_storage_path(CONFIG_DIR, configuration)
|
storage_path = ext_storage_path(CONFIG_DIR, configuration)
|
||||||
storage_json = StorageJSON.load(storage_path)
|
storage_json = StorageJSON.load(storage_path)
|
||||||
|
@ -355,6 +356,7 @@ class EditRequestHandler(BaseHandler):
|
||||||
if not self.is_authenticated():
|
if not self.is_authenticated():
|
||||||
self.redirect('/login')
|
self.redirect('/login')
|
||||||
return
|
return
|
||||||
|
# pylint: disable=no-value-for-parameter
|
||||||
configuration = self.get_argument('configuration')
|
configuration = self.get_argument('configuration')
|
||||||
if not is_allowed(configuration):
|
if not is_allowed(configuration):
|
||||||
self.set_status(401)
|
self.set_status(401)
|
||||||
|
@ -368,6 +370,7 @@ class EditRequestHandler(BaseHandler):
|
||||||
if not self.is_authenticated():
|
if not self.is_authenticated():
|
||||||
self.redirect('/login')
|
self.redirect('/login')
|
||||||
return
|
return
|
||||||
|
# pylint: disable=no-value-for-parameter
|
||||||
configuration = self.get_argument('configuration')
|
configuration = self.get_argument('configuration')
|
||||||
if not is_allowed(configuration):
|
if not is_allowed(configuration):
|
||||||
self.set_status(401)
|
self.set_status(401)
|
||||||
|
|
Loading…
Reference in a new issue