Release 1.2.6

This commit is contained in:
2021-08-21 16:19:21 +03:00
parent a5455b697d
commit 9d2a3bcbc1
4 changed files with 4 additions and 4 deletions

View File

@ -148,6 +148,6 @@ class S3(Upload):
local_path = path / local_file
remote_path = Path(self.architecture) / local_file
(mime, _) = mimetypes.guess_type(local_path)
extra_args = {"Content-Type": mime} if mime is not None else None
extra_args = {"ContentType": mime} if mime is not None else None
self.bucket.upload_file(Filename=str(local_path), Key=str(remote_path), ExtraArgs=extra_args)

View File

@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
__version__ = "1.2.5"
__version__ = "1.2.6"