Commits

Anonymous committed 6369fba

修正图片超过10M错误

Comments (0)

Files changed (1)

     
     @property
     def body(self):
-        return self.bf or ''.join([f.bf for f in self.bfs])
+        if self.bf:
+            return self.bf
+        bfs = ImageBF.all().filter('image =',self).order('__key__')
+        return ''.join([f.bf for f in bfs])
     
     @property
     def des(self):