David Larlet  committed d4014b8 Merge

Merge @pydanny's modifications on mosso storage

  • Participants
  • Parent commits 43d7909, ada2779

Comments (0)

Files changed (1)

File storages/backends/

         Use the Cloud Files service to write ``content`` to a remote file
         (called ``name``).
         cloud_obj = self.container.create_object(name)
-        cloud_obj.size = content.file.size
+        cloud_obj.size = content.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'):