diff --git a/example/app.py b/example/app.py index 28a7295..9aa80e3 100644 --- a/example/app.py +++ b/example/app.py @@ -23,7 +23,7 @@ def index(): @app.route("/view/") def view(object_name): obj = storage.get(object_name) - print obj.name + print(obj.name) return render_template("view.html", obj=obj) @app.route("/upload", methods=["POST"]) @@ -34,4 +34,4 @@ def upload(): if __name__ == "__main__": - app.run(debug=True, port=5000) \ No newline at end of file + app.run(debug=True, port=5000)