[tor-commits] [stem/master] Await a coroutine
atagar at torproject.org
atagar at torproject.org
Thu Jul 16 01:28:58 UTC 2020
commit 241083b3f05a04f46cdba96e40c8e990bd63e40f
Author: Illia Volochii <illia.volochii at gmail.com>
Date: Tue Apr 21 22:19:12 2020 +0300
Await a coroutine
---
stem/control.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/control.py b/stem/control.py
index 370b6270..7cfd3197 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -3802,7 +3802,7 @@ class Controller(BaseController):
# connection, we can stop having it check for us via our pid.
try:
- self.reset_conf('__OwningControllerProcess')
+ await self.reset_conf('__OwningControllerProcess')
except stem.ControllerError as exc:
log.warn("We were unable to reset tor's __OwningControllerProcess configuration. It will continue to periodically check if our pid exists. (%s)" % exc)
else:
More information about the tor-commits
mailing list