mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
跟随学校升级二升级部分代码,目前无法突破CF二代盾,暂无法签到
This commit is contained in:
@@ -368,7 +368,7 @@ def exec_command(commands):
|
||||
def do_update(request):
|
||||
try:
|
||||
logger.info('开始更新')
|
||||
bt_school = Site.objects.filter(url=' http://47.242.110.63/').first()
|
||||
bt_school = Site.objects.filter(url='http://47.242.110.63/').first()
|
||||
if not bt_school:
|
||||
bt_school.url = 'https://pt.btschool.club/'
|
||||
bt_school.save()
|
||||
|
||||
Reference in New Issue
Block a user