s3_upload_2.py 223 B

12345
  1. def upload_files(self):
  2. for bucket in self.uploads:
  3. files = [file.strip() for file in self.uploads[bucket].split(',')]
  4. for file in files:
  5. self._upload_file_to_s3(file, bucket)