We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
请在plugin_deployment.py 第 103 - 116 行修改如下:
plugin_deployment.py
def GetCloudList(self,get): try: jsonFile = self.__setupPath + '/deployment_list.json' if not 'package' in session or not os.path.exists(jsonFile) or hasattr(get,'force'): downloadUrl = 'https://www.bt.cn/api/panel/get_deplist' pdata = public.get_pdata() tmp = json.loads(public.httpPost(downloadUrl,pdata,3)) if not tmp: return public.returnMsg(False,'从云端获取失败!') public.writeFile(jsonFile,json.dumps(tmp)) session['package'] = True return public.returnMsg(True,'更新成功!') return public.returnMsg(True,'无需更新!') except: return public.returnMsg(False,'从云端获取失败!')
即可修复 key error 错误
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: