mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
手误,代码少打一个‘s’
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user