We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
result = (f for f in result if f.ext.lower() in ext_filters) AttributeError: 'str' object has no attribute 'ext'
result为os.listdir的结果,类型为字符串,没有ext
The text was updated successfully, but these errors were encountered:
修改为:
if ext_filters: result = (f for f in result if self.pathlib.isfile(self.child(f)) and DayuPath(f).ext.lower() in ext_filters)
Sorry, something went wrong.
No branches or pull requests
result = (f for f in result if f.ext.lower() in ext_filters)
AttributeError: 'str' object has no attribute 'ext'
result为os.listdir的结果,类型为字符串,没有ext
The text was updated successfully, but these errors were encountered: