From 33fb486c82756591462da00a4f9de9defdc2b435 Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Tue, 20 Feb 2024 01:18:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9key=5Ffor=5Fgpts=5Finfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f208fc4..5958c71 100644 --- a/main.py +++ b/main.py @@ -225,7 +225,7 @@ def xyhelperGetAccessToken(getAccessTokenUrl, refresh_token): def updateGptsKey(): global KEY_FOR_GPTS_INFO - golbal KEY_FOR_GPTS_INFO_ACCESS_TOKEN + global KEY_FOR_GPTS_INFO_ACCESS_TOKEN if not KEY_FOR_GPTS_INFO == '' and not KEY_FOR_GPTS_INFO.startswith("eyJhb"): if REFRESH_TOACCESS_ENABLEOAI: access_token = oaiGetAccessToken(KEY_FOR_GPTS_INFO)