mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Handle errors with Tor HS configuration.
This commit is contained in:
1 parent
e5de76401d
commit
28cc7f14c7
2 files changed
+9
-2
No files matched your search
@@ -89,6 +89,10 @@ def get_status():
|
||||
hs_enabled = False
|
||||
hs_hostname = 'Not Configured'
|
||||
hs_ports = ''
|
||||
elif output == 'error':
|
||||
hs_enabled = False
|
||||
hs_hostname = 'Configuration Error'
|
||||
hs_ports = ''
|
||||
else:
|
||||
hs_enabled = True
|
||||
hs_info = output.split()
|
||||
|
||||
Reference in new issue
Block a user