From 869a321c145865aececc0cdffe12eda49e72de16 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 4 Dec 2024 01:57:01 +0800 Subject: [PATCH] Update index.py --- plugins/migration_api/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/migration_api/index.py b/plugins/migration_api/index.py index 7bdd67ac0..19e200d81 100755 --- a/plugins/migration_api/index.py +++ b/plugins/migration_api/index.py @@ -257,7 +257,7 @@ class classApi: try: url = self.__MW_PANEL + '/files/upload_segment' - res = self._REQUESTS.post(url, data=pdata, files=files, headers={ + res = requests.post(url, data=pdata, files=files, headers={ 'app-id':self.__MW_APP_ID, 'app-secret':self.__MW_APP_SECRET },timeout=30000)