Commit c94d3adcdfe7a6fa14e2911f1dfa95c83f5fdf7b

Fix typo

  Horrible mistake of not typing the correct variable names.
  • Diff rendering mode:
  • inline
  • side by side

server.py

43@app.route('/', methods=['GET'])43@app.route('/', methods=['GET'])
44def index():44def index():
45 return flask.render_template('index.html', content=getContent(),45 return flask.render_template('index.html', content=getContent(),
46 title=config.SITE_TITLE)
46 title=conf.SITE_TITLE)
4747
4848
49@app.route('/edit', methods=['GET'])49@app.route('/edit', methods=['GET'])
50def edit():50def edit():
51 return flask.render_template('editor.html', content=getContent(),51 return flask.render_template('editor.html', content=getContent(),
52 title=config)
52 title=conf)
5353
5454
55@app.route('/page', methods=['POST'])55@app.route('/page', methods=['POST'])
117117
118118
119if __name__ == "__main__":119if __name__ == "__main__":
120 print config
121 app.run(debug=True, host=config.HOST, port=config.PORT)
120 app.run(debug=True, host=conf.HOST, port=conf.PORT)