Skip to content

Commit

Permalink
99% sure it will upload to the bucket now
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobmaker55 committed Sep 6, 2024
1 parent b73a8b9 commit b78f86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conditional/blueprints/major_project_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def submit_major_project(user_dict=None):
# Collect all the locally cached files and put them in the bucket
for file in os.listdir(f"/tmp/{user_dict['username']}"):
print(file)
bucket.upload_file(file, file.split("/")[-1])
bucket.upload_file(f"/tmp/{user_dict['username']}/{file}", file)
os.remove(file)
os.rmdir(f"/tmp/{user_dict['username']}")

Expand Down

0 comments on commit b78f86a

Please sign in to comment.