Browse Source

Possible fix of bug in upstream repo

pull/15/head
nereg 5 years ago
parent
commit
6165cebc64
  1. 2
      a2s/a2sasync.py

2
a2s/a2sasync.py

@ -47,7 +47,7 @@ class A2SProtocol(asyncio.DatagramProtocol):
self.error = exc self.error = exc
self.error_event.set() self.error_event.set()
def raise_on_error(): def raise_on_error(self):
error = self.error error = self.error
self.error = None self.error = None
self.error_event.clear() self.error_event.clear()

Loading…
Cancel
Save