This commit is contained in:
meejah 2021-02-12 20:52:14 -07:00
parent 942f204140
commit b03801d155

View File

@ -52,9 +52,10 @@ class TransitConnection(LineReceiver):
"""
ITransitClient API
"""
print("buddy_disconnected {}".format(self._buddy.get_token()))
self._buddy._client.transport.loseConnection()
self._buddy = None
if self._buddy is not None:
# print("buddy_disconnected {}".format(self._buddy.get_token()))
self._buddy._client.transport.loseConnection()
self._buddy = None
def describeToken(self):
d = "-"