fix(keymgr.py): 不正确的keyname索引方式

This commit is contained in:
Rock Chin
2022-12-29 11:30:43 +08:00
parent 5badd2ab26
commit 35992397e6

View File

@@ -55,7 +55,7 @@ class KeysManager:
return True, key_name
self.using_key = list(self.api_key.values())[0]
logging.info("使用api-key:" + self.api_key.keys()[0])
logging.info("使用api-key:" + list(self.api_key.keys())[0])
return False, ""