'''
Authored by: Kenneth Rhee, Hak Joon Lee, Joe Goodman
Email: kennethhrhee@gmail.com, thejoonshow@gmail.com, goodman.a.joseph@gmail.com
'''

from flask import render_template, request, send_from_directory
from config import app, db

import os

# app.register_blueprint(app_browse)

#===================================
# Routes ####
#===================================
@app.route('/')
def index():
	print db.dialogue.find()[0]
	print "hello world"
	return db.dialogue.find()[0]
	return render_template('index.html')

if __name__ == '__main__':
    port = 5000
    app.run(host='0.0.0.0', port=port, debug=True)
@@ -394,17 +394,20 @@
 ndex():%0A
-%09
+    
 print db
@@ -426,17 +426,20 @@
 nd()%5B0%5D%0A
-%09
+    
 print %22h
@@ -450,24 +450,31 @@
  world%22%0A
-%09
+    
 return 
+str(
 db.dialo
@@ -490,10 +490,14 @@
 )%5B0%5D
-%0A%09
+)%0A    
 retu

index route return fix