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
上传过程中到得文件名后缀的哪句Spilt会有问题。 point_pos = file.name.rfind(".")#解决文件名出现多次.的情况 original_ext =file.name[point_pos+1:].lower()#解决配置和实际文件名大小写不匹配也会报错的bug。 这个统一大小写的ext最好也做进存储文件名里面,否则有可能导致存进去的文件因为大小的问题被imagemanager读取目录的时候所过滤 作者别在意,报bug主要还是为了共同打造一个生产系统可用的东西。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
上传过程中到得文件名后缀的哪句Spilt会有问题。
point_pos = file.name.rfind(".")#解决文件名出现多次.的情况
original_ext =file.name[point_pos+1:].lower()#解决配置和实际文件名大小写不匹配也会报错的bug。
这个统一大小写的ext最好也做进存储文件名里面,否则有可能导致存进去的文件因为大小的问题被imagemanager读取目录的时候所过滤
作者别在意,报bug主要还是为了共同打造一个生产系统可用的东西。
The text was updated successfully, but these errors were encountered: