diff --git a/wakatime/base.py b/wakatime/base.py index 71b2a90..58dc9ea 100644 --- a/wakatime/base.py +++ b/wakatime/base.py @@ -24,8 +24,9 @@ try: except ImportError: import configparser -sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages')) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages')) from .__about__ import __version__ from .compat import u, open, is_py3