mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-05 21:48:54 +01:00
Fix another MacOSX/Python3.5 issue.
This commit is contained in:
parent
bd97506f7d
commit
12d4b304c3
@ -225,7 +225,7 @@ class Method(BaseMethod):
|
||||
if sys.platform == "darwin":
|
||||
o = pfctl('-E')
|
||||
_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:
|
||||
pfctl('-e')
|
||||
_pf_context['started_by_sshuttle'] = True
|
||||
|
Loading…
Reference in New Issue
Block a user