We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73a8b9 commit b78f86aCopy full SHA for b78f86a
conditional/blueprints/major_project_submission.py
@@ -103,7 +103,7 @@ def submit_major_project(user_dict=None):
103
# Collect all the locally cached files and put them in the bucket
104
for file in os.listdir(f"/tmp/{user_dict['username']}"):
105
print(file)
106
- bucket.upload_file(file, file.split("/")[-1])
+ bucket.upload_file(f"/tmp/{user_dict['username']}/{file}", file)
107
os.remove(file)
108
os.rmdir(f"/tmp/{user_dict['username']}")
109
0 commit comments