formatting

This commit is contained in:
Alex Stokes 2019-08-16 13:04:55 -07:00
parent 3e07faf343
commit 27c0a4f77b
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -24,10 +24,12 @@ class BaseSession(ISecureConn):
) -> None:
self.local_peer = transport.local_peer
self.local_private_key = transport.local_private_key
self.conn = conn
self.remote_peer_id = peer_id
self.remote_permanent_pubkey = None
self.conn = conn
self.writer = self.conn.writer
self.reader = self.conn.reader
self.initiator = self.conn.initiator
async def write(self, data: bytes) -> None: