Skip to content

Conversation

@Sving1024
Copy link
Contributor

#245 的基础上做了点小修补。修复了 #248

  • 将确定证书位置的部分移动到了 setting.py,让所有使用 certpath 的函数读取 setting.certpath
  • 将弃用的 logging.warn 替换成了 logging.warning
  • 将判断 root 用户的部分移动到了 main 函数的开始。
  • 其它一些代码风格的小修改。

@URenko URenko merged commit e4a926f into URenko:master Aug 26, 2025
3 checks passed
logging.warning("cert path %s is deprecated.", str(deprecated_path))
logging.warning("Please check https://github.com/URenko/Accesser/pull/245 for migration.")
return deprecated_path
return decide_state_path_unix_like() / "CERT"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里特意改的小写的,结果改回来了

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

Successfully merging this pull request may close these issues.

3 participants