Commits

Guilherme Gondim  committed 6b818c2

fix command for django-storages S3's backend compatibility

  • Participants
  • Parent commits 694e0fa

Comments (0)

Files changed (1)

File galeria/models.py

 
     @property
     def EXIF(self):
-        image_file = default_storage.open(self.original_image.path, 'rb')
+        image_file = default_storage.open(self.original_image.name, 'rb')
         try:
             return EXIF.process_file(image_file)
         except Exception, e: