import os
from flask import Flask, render_template, url_for
app = Flask(__name__)

@app.route('/')
def homepage():
	viewer = 'clinician'
	description = 'This is the clinician version.'

	return render_template('index.html', viewer=viewer, description=description)

@app.route('/patient')
def patientpage():

	viewer = 'patient'
	description = 'This is the patient version.'

	return render_template('index.html', viewer=viewer, description=description)

@app.route('/about')
def aboutpage():

	viewer = 'about'
	return render_template('about.html', viewer=viewer)

if __name__ == '__main__':
	port = int(os.environ.get('PORT', 5010))
	app.run(host='0.0.0.0', port=port)
	app.run(debug=True)
from __future__ import print_function
import os
from flask import Flask, render_template, url_for

app = Flask(__name__)

@app.route('/')
def homepage():
	viewer = 'clinician'
	description = 'This is the clinician version.'

	return render_template('index.html', viewer=viewer, description=description)

@app.route('/patient')
def patientpage():

	viewer = 'patient'
	description = 'This is the patient version.'

	return render_template('index.html', viewer=viewer, description=description)

@app.route('/about')
def aboutpage():

	viewer = 'about'
	return render_template('about.html', viewer=viewer)

if __name__ == '__main__':
	port = int(os.environ.get('PORT', 5000))
	app.run(host='0.0.0.0', port=port, debug=True, use_reloader=True)
Fix debugger start up issue + Add python3 print syntax
Fix debugger start up issue + Add python3 print syntax
