@app.route('/NewRoom', defaults={'error':''}) @app.route('/Newroom/<error>') def newRm(): return render_template('NewRoom.html')