zfb132 / qcloud-ssl-cdn

使用API实现腾讯云CDN服务自动更换自己申请的Let's Encrypt证书
Apache License 2.0
47 stars 24 forks source link

EO配置未写入docker执行脚本导致报错 #11

Closed scrpr closed 1 month ago

scrpr commented 1 month ago

脚本更新EO支持后相关配置并未写入update.sh,导致以下报错:

 Traceback (most recent call last):
  File "/home/runner/work/qcloud-ssl-cdn/qcloud-ssl-cdn/main.py", line 212, in <module>
    if config.ZONE_ID:
AttributeError: module 'config' has no attribute 'ZONE_ID'
Error: Process completed with exit code 1.

解决方案:增加相关配置行。

zfb132 commented 1 month ago

谢谢提醒,上次添加新功能忘记更新docker脚本了