Correct RuntimeError typo

This commit is contained in:
Jean-Paul Calderone 2019-03-21 13:35:54 -04:00
parent 86f5ce819e
commit 173aa42e02

View File

@ -34,7 +34,7 @@ class TahoeLogProtocol(WebSocketClientProtocol):
def onClose(self, *args):
if not self.factory.on_open.called:
self.factory.on_open.errback(
RuntimError("Failed: {}".format(args))
RuntimeError("Failed: {}".format(args))
)
self.factory.on_close.callback(self)