Update index.py

This commit is contained in:
Mr Chen 2024-10-19 23:10:50 +08:00
parent 218991d8d0
commit e1014a72bd
1 changed files with 1 additions and 3 deletions

View File

@ -286,9 +286,7 @@ def getBlackList():
_black_list = getServerDir() + "/black_list.json"
conf = _read_conf(_black_list, l=1)
if not conf:
return ''
if not conf:
return []
conf = []
content = "\n".join(conf)
return mw.returnJson(True, 'ok', content)