Commits

Rich Leland committed 8fd8a02

Fixes #35 InvalidObjectSize issue.

  • Participants
  • Parent commits 711c555

Comments (0)

Files changed (1)

File backends/mosso.py

         """
         content.open()
         cloud_obj = self.container.create_object(name)
+        cloud_obj.size = content.file.size
         # If the content type is available, pass it in directly rather than
         # getting the cloud object to try to guess.
         if hasattr(content.file, 'content_type'):