[tor-commits] [stem/master] Await a coroutine
atagar at torproject.org
atagar at torproject.org
Thu Jul 16 01:28:59 UTC 2020
commit 7ec57569d9ad912b444942c89ec4b1c22a872398
Author: Illia Volochii <illia.volochii at gmail.com>
Date: Thu Apr 23 20:20:30 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 b7050626..b0535b08 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -1426,7 +1426,7 @@ class AsyncController(BaseController):
Listener.CONTROL: 'ControlListenAddress',
}[listener_type]
- port_value = self._get_conf_single(port_option).split()[0]
+ port_value = (await self._get_conf_single(port_option)).split()[0]
for listener in (await self.get_conf(listener_option, multiple = True)):
if ':' in listener:
More information about the tor-commits
mailing list