Fix upload_keys
This commit is contained in:
parent
6f1f9c598d
commit
cd3b03c339
|
@ -129,7 +129,8 @@ class Bot(object):
|
|||
return self.__client
|
||||
|
||||
async def __upload_keys(self) -> None:
|
||||
await self.client.keys_upload()
|
||||
if self.client.should_upload_keys:
|
||||
await self.client.keys_upload()
|
||||
|
||||
if self.client.should_query_keys:
|
||||
await self.client.keys_query()
|
||||
|
|
Loading…
Reference in New Issue