Fixed Flake8 warnings
@@ -175,10 +175,12 @@ class GoogleCloudStorage(Storage):
file = GoogleCloudFile(encoded_name, 'rw', self)
file.blob.cache_control = self.cache_control
if self.default_acl:
- file.blob.upload_from_file(content, rewind=True, size=content.size,
+ file.blob.upload_from_file(
+ content, rewind=True, size=content.size,
content_type=file.mime_type, predefined_acl=self.default_acl)
else:
- file.blob.upload_from_file(content, rewind=True, size=content.size,
+ file.blob.upload_from_file(
+ content, rewind=True, size=content.size,
content_type=file.mime_type)
return cleaned_name
