mitmproxy/libmproxy/platform/__init__.py

10 lines
178 B
Python
Raw Normal View History

import sys
resolver = None
if sys.platform == "linux2":
import linux
resolver = linux.Resolver
elif sys.platform == "darwin":
import osx
resolver = osx.Resolver