[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Await a coroutine



commit 241083b3f05a04f46cdba96e40c8e990bd63e40f
Author: Illia Volochii <illia.volochii@xxxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits