Add shebang line
This commit is contained in:
parent
73cc05bda5
commit
994c3093b5
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import socket
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import socket
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ class Bot(object):
|
|||
async def sync(self) -> None:
|
||||
self.logger.debug('Starting sync')
|
||||
next_batch = self.__read_next_batch()
|
||||
self.__upload_keys()
|
||||
await self.__upload_keys()
|
||||
|
||||
await self.client.sync(timeout=30000,
|
||||
full_state=True,
|
||||
|
@ -161,7 +161,7 @@ class Bot(object):
|
|||
self.logger.debug('Adding callbacks')
|
||||
client.add_to_device_callback(self.__to_device_callback,
|
||||
(KeyVerificationEvent, ))
|
||||
self.__upload_keys()
|
||||
await self.__upload_keys()
|
||||
click.secho('\nStarting verification process...',
|
||||
bold=True,
|
||||
fg='green')
|
||||
|
|
Loading…
Reference in New Issue