diff --git a/wsgi.py b/wsgi.py index af7fd59a..7f1bd243 100644 --- a/wsgi.py +++ b/wsgi.py @@ -1,9 +1,17 @@ from flask import Flask application = Flask(__name__) + +# -- my_now=datetime.now().strftime('%Y-%m-%d %H:%M:%S') + @application.route("/") def hello(): - return "Hello World! - My Name is Ryan Loiselle, this is the Tuesday Tech Talk about OpenShift and DevOps" - + from datetime import datetime + my_now = datetime.now().strftime('%Y-%m-%d %H:%M:%S') +# my_message = "Hello World! - My Name is TMR at:" & datetime.now().strftime('%Y-%m-%d %H:%M:%S') + my_message = "Hello World! - My Name is TMR at:" +# return my_message +# return "Hello World! - My Name is TMR " + return (my_message, my_now) if __name__ == "__main__": application.run()