手误,代码少打一个‘s’

This commit is contained in:
ngfchl
2022-11-18 14:20:15 +08:00
parent 4617c5b876
commit 08b8050c3c

View File

@@ -16,7 +16,7 @@ def app_ready_handler(sender, **kwargs):
data = json.load(f)
logger.info('正在初始化站点规则信息表')
logger.info('更新规则中返回结果为True为新建为False为更新其他是错误了')
opencd = Site.objects.filter(url='http://open.cd/').first()
opencd = Site.objects.filter(url='https://open.cd/').first()
if opencd:
opencd = Site.objects.filter(url='https://www.open.cd/').first()
if opencd: