Skip to content

Commit 94260ba

Browse files
committed
More small fixes
1 parent 7c8efac commit 94260ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/back-end/src/routes/workspace_route.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,8 @@ def export_file(relative_path):
11971197
)
11981198

11991199
response = send_file(file_path, as_attachment=True)
1200+
1201+
return response
12001202

12011203
except FileNotFoundError as e:
12021204
logger.error("FileNotFoundError: %s while accessing %s", e, user_workspace_dir)
@@ -1238,6 +1240,4 @@ def export_file(relative_path):
12381240
)
12391241
return jsonify({"error": "An internal error occurred"}), 500
12401242

1241-
return response
1242-
12431243

0 commit comments

Comments
 (0)