diff --git a/movies.py b/movies.py index f881acf2f0f4eb46c977ec49a218de29537a9fbe..998ac57eae050be31a5a6db1e2c9a194a036ac07 100644 --- a/movies.py +++ b/movies.py @@ -11,7 +11,7 @@ with open("{}/database/movies.json".format(os.getcwd()), "r") as f: @app.route("/", methods=['GET']) def hello(): - return nice_json({ + return json.dumps({ "uri": "/", "subresource_uris": { "movies": "/movies",