mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 16:17:49 +00:00
16 lines
364 B
Python
16 lines
364 B
Python
import sys
|
|
|
|
resolver = None
|
|
|
|
if sys.platform == "linux2":
|
|
from . import linux
|
|
resolver = linux.Resolver
|
|
elif sys.platform == "darwin":
|
|
from . import osx
|
|
resolver = osx.Resolver
|
|
elif sys.platform == "freebsd10":
|
|
from . import osx
|
|
resolver = osx.Resolver
|
|
elif sys.platform == "win32":
|
|
from . import windows
|
|
resolver = windows.Resolver |