mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-03 20:31:09 +00:00
6a9407d7cc
In Python 3, subprocess.check_output() returns a sequence of bytes. This change ensures that it will be converted to a string, so the substring test for the sudo error message does not raise a TypeError. This fixes the code in Python 3 while remaining compatible with Python 2. |
||
---|---|---|
.. | ||
__init__.py | ||
linux.py | ||
osx.py | ||
pf.py | ||
windows.py |