Commit d23037d1 authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: before_request reorganized

parent e97d60c9
...@@ -45,10 +45,8 @@ def login_redirect(*args, **kwargs): ...@@ -45,10 +45,8 @@ def login_redirect(*args, **kwargs):
@app.before_request @app.before_request
def before_request(): def before_request():
if request.path.startswith('/static'): if request.path.startswith('/static') \
return or request.path == '/isSRReady':
if request.path == '/isSRReady':
return return
account = getSession(app.config) account = getSession(app.config)
......
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