I can't seem to get the proper JSON array output. It just shows up as an empty array. I haven't changed any other code in the Pset. Thanks in advance.
def articles():
"""Look up articles for geo."""
# retrieve the geo from HTML
location = request.args.get("geo")
# check if there is a runtime error
if not location:
raise RuntimeError("Not found")
# look up articles
articles = lookup(location)
# return a jsonify array
return jsonify([articles])