Fix upload_keys

This commit is contained in:
Patrick Neff 2020-08-06 19:49:54 +02:00
parent 6f1f9c598d
commit cd3b03c339
1 changed files with 2 additions and 1 deletions

View File

@ -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()