Skip to content

Commit

Permalink
Fix flask freezer
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhssn committed Oct 28, 2020
1 parent 17b30d0 commit 1158747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def chat():

@app.route("/papers.json")
def papers_json():
all_papers = site_data["papers"]
all_papers = []
all_papers.extend(site_data["papers"])
for wsh in site_data["workshops"]:
all_papers.extend(wsh.papers)
return jsonify(all_papers)
Expand Down

0 comments on commit 1158747

Please sign in to comment.