prthm11 commited on
Commit
6ca8018
·
verified ·
1 Parent(s): 65e5476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2260,7 +2260,7 @@ def download_sb3(project_id):
2260
  )
2261
 
2262
  @app.route("/download_pdf/<project_id>", methods=["GET"])
2263
- def download_sb3(project_id):
2264
  if not pdf_doc.exists():
2265
  return jsonify({"error": "Scratch project file not found"}), 404
2266
 
 
2260
  )
2261
 
2262
  @app.route("/download_pdf/<project_id>", methods=["GET"])
2263
+ def download_pdf(project_id):
2264
  if not pdf_doc.exists():
2265
  return jsonify({"error": "Scratch project file not found"}), 404
2266