django-aliyun-oss2-storage icon indicating copy to clipboard operation
django-aliyun-oss2-storage copied to clipboard

类属性错误

Open nijiayu0914 opened this issue 5 years ago • 0 comments

class AliyunFile(File): def init(self, name, storage, mode): self._storage = storage self._name = name[len(self._storage.location)+1:] self._mode = mode self.file = six.BytesIO() self._is_dirty = False self._is_read = False super(AliyunFile, self).init(self.file, self.name) 这里应该改为self._name

nijiayu0914 avatar Jan 14 '20 13:01 nijiayu0914