fix: missing parentheses on set_exception call
This commit is contained in:
parent
7a6871e1e9
commit
ca65ffb2cb
|
|
@ -90,7 +90,7 @@ async def start_sshx():
|
||||||
link_future.set_result(link)
|
link_future.set_result(link)
|
||||||
return
|
return
|
||||||
if not link_future.done():
|
if not link_future.done():
|
||||||
link_future.set_exception RuntimeError("sshx exited without link")
|
link_future.set_exception(RuntimeError("sshx exited without link"))
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
threading.Thread(target=_reader, daemon=True).start()
|
threading.Thread(target=_reader, daemon=True).start()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue