Update app.py
Browse files
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
|
| 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 |
|