summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/views.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 981892b..3243062 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -313,10 +313,6 @@ def load_user(username):
user = User(username, user_dict.get('SCOPES'), user_dict.get('ADMIN'))
return user
-@app.before_request
-def load_config():
- g.server = servers[0]
-
@app.errorhandler(404)
def page_not_found(error):
return render_template('error.html', message=error), 404