Skip to content

Commit b78f86a

Browse files
committed
99% sure it will upload to the bucket now
1 parent b73a8b9 commit b78f86a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conditional/blueprints/major_project_submission.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def submit_major_project(user_dict=None):
103103
# Collect all the locally cached files and put them in the bucket
104104
for file in os.listdir(f"/tmp/{user_dict['username']}"):
105105
print(file)
106-
bucket.upload_file(file, file.split("/")[-1])
106+
bucket.upload_file(f"/tmp/{user_dict['username']}/{file}", file)
107107
os.remove(file)
108108
os.rmdir(f"/tmp/{user_dict['username']}")
109109

0 commit comments

Comments
 (0)