Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类属性错误 #34

Open
nijiayu0914 opened this issue Jan 14, 2020 · 0 comments
Open

类属性错误 #34

nijiayu0914 opened this issue Jan 14, 2020 · 0 comments

Comments

@nijiayu0914
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant