From 1985d84fcd0e932cc1b9c3cd750fa5d70f9e3953 Mon Sep 17 00:00:00 2001 From: SiHuan Date: Thu, 12 Aug 2021 19:11:13 +0800 Subject: [PATCH] update --- worker/lsp.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/worker/lsp.py b/worker/lsp.py index 9449e69..373ceca 100644 --- a/worker/lsp.py +++ b/worker/lsp.py @@ -42,8 +42,11 @@ def getsetu(keyword=''): except: return 500, '',0 + picurl = '' + pid = 0 if resp['code'] == 0: picurl = "https://r.zjuyk.site/" + resp['data'][0]['url'] + pid = resp['data'][0]['pid'] - return resp['code'], picurl, resp['data'][0]['pid'] + return resp['code'], picurl, pid