mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
tor: Reimplement getting ports in Python
This commit is contained in:
1 parent
36adc84b5d
commit
3d5f68381d
3 files changed
+43
-38
No files matched your search
@@ -73,7 +73,7 @@ def index(request):
|
||||
|
||||
def get_status():
|
||||
"""Return the current status"""
|
||||
output = actions.superuser_run('tor-get-ports')
|
||||
output = actions.superuser_run('tor', ['get-ports'])
|
||||
port_info = output.split('\n')
|
||||
ports = {}
|
||||
for line in port_info:
|
||||
|
||||
Reference in new issue
Block a user