fix: 只有一个apikey并过期切换时不停输出apikey值

This commit is contained in:
Rock Chin
2022-12-26 20:56:52 +08:00
parent 043b2f0198
commit 502082aa15
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class KeysManager:
return True, key_name
self.using_key = list(self.api_key.values())[0]
logging.info("使用api-key:" + self.using_key)
logging.info("使用api-key:" + self.api_key.keys()[0])
return False, ""