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

无法使用绝对路径上传 #15

Closed
auqhjjqdo0 opened this issue Jul 4, 2021 · 2 comments
Closed

无法使用绝对路径上传 #15

auqhjjqdo0 opened this issue Jul 4, 2021 · 2 comments

Comments

@auqhjjqdo0
Copy link

image

单文件上传如果是传入绝对路径参数,config里的FILE_PATH为空时会出现如图的报错,文件路径变成了脚本的运行目录,如果将FILE_PATH改成文件路径就能正常上传

所以这个FILE_PATH有什么作用吗,能否直接通过传入的路径参数修改该值?如果每次上传都要填一遍FILE_PATH岂不是很麻烦

@Hidove
Copy link
Collaborator

Hidove commented Jul 4, 2021

已经OK了,之前忘了替换FILE_PATHDATA['FILE_PATH']导致无法读取命令行参数里的目录了

@auqhjjqdo0
Copy link
Author

测试已修复bug

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

2 participants