Update index.py

This commit is contained in:
midoks
2023-09-03 00:01:20 +08:00
parent 3cf5c5b190
commit 0e368f7157
+1 -6
View File
@@ -123,14 +123,9 @@ def setAuthUrl():
def clearAuth():
cfg = getServerDir() + "/user.conf"
if os.path.exists(cfg):
os.remove(cfg)
token = getServerDir() + "/token.pickle"
token = getServerDir() + "/token.json"
if os.path.exists(token):
os.remove(token)
return mw.returnJson(True, "清空授权成功!")