Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Aug 29, 2019
1 parent 38191fe commit 78ec492
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maap/maap.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def uploadFiles(self, filenames):
bucket = self._S3_USER_UPLOAD_BUCKET
prefix = self._S3_USER_UPLOAD_DIR
uuid_dir = uuid.uuid4()
# TODO(aimee): This should upload to a user-namespaced directory
for filename in filenames:
basename = os.path.basename(filename)
response = self._upload_s3(filename, bucket, f"{prefix}/{uuid_dir}/{basename}")
Expand Down

0 comments on commit 78ec492

Please sign in to comment.