类属性错误
nijiayu0914 opened this issue · 0 comments
nijiayu0914 commented
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