Commit 6f2390e2 authored by Recteur LP's avatar Recteur LP

Fix PEP8

parent 93cdbe10
Pipeline #1142 failed with stages
in 4 minutes and 52 seconds
......@@ -43,3 +43,4 @@ pyrmin:
# Static Endpoint
# a list of tuple (url, path)
#static: []
# - !!python/tuple ['url', 'path']
......@@ -152,7 +152,7 @@ class settings_rest():
def __init__(self, config):
self.configuration = config
def permissions(self, type = "admin"):
def permissions(self, type="admin"):
user = User(self.configuration).get()
if not user['auth']:
raise cherrypy.HTTPError(401, 'Log in first.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment