Commit 12d4b304 authored by Brian May's avatar Brian May

Fix another MacOSX/Python3.5 issue.

parent bd97506f
...@@ -225,7 +225,7 @@ class Method(BaseMethod): ...@@ -225,7 +225,7 @@ class Method(BaseMethod):
if sys.platform == "darwin": if sys.platform == "darwin":
o = pfctl('-E') o = pfctl('-E')
_pf_context['Xtoken'] = \ _pf_context['Xtoken'] = \
re.search(r'Token : (.+)', o[1]).group(1) re.search(b'Token : (.+)', o[1]).group(1)
elif b'INFO:\nStatus: Disabled' in pf_status: elif b'INFO:\nStatus: Disabled' in pf_status:
pfctl('-e') pfctl('-e')
_pf_context['started_by_sshuttle'] = True _pf_context['started_by_sshuttle'] = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment