From c94d3adcdfe7a6fa14e2911f1dfa95c83f5fdf7b Mon Sep 17 00:00:00 2001 From: Anon Ray Date: Mon, 1 Jul 2013 16:31:16 +0530 Subject: [PATCH] Fix typo Horrible mistake of not typing the correct variable names. --- server.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server.py b/server.py index 25ee45a..db5b640 100644 --- a/server.py +++ b/server.py @@ -43,13 +43,13 @@ def getContent(): @app.route('/', methods=['GET']) def index(): return flask.render_template('index.html', content=getContent(), - title=config.SITE_TITLE) + title=conf.SITE_TITLE) @app.route('/edit', methods=['GET']) def edit(): return flask.render_template('editor.html', content=getContent(), - title=config) + title=conf) @app.route('/page', methods=['POST']) @@ -117,6 +117,5 @@ def updateMenu(_id): if __name__ == "__main__": - print config - app.run(debug=True, host=config.HOST, port=config.PORT) + app.run(debug=True, host=conf.HOST, port=conf.PORT) -- 1.7.10.4