mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user