From 6b176791f2aa465ebd98a8a8174c66d3a23a6e8c Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 1 Apr 2015 21:17:15 -0700 Subject: [PATCH] add urllib3 and urllib3.util folders to sys.path --- wakatime/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wakatime/base.py b/wakatime/base.py index 05173dd..b0d73aa 100644 --- a/wakatime/base.py +++ b/wakatime/base.py @@ -27,6 +27,8 @@ except ImportError: 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')) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages', 'urllib3')) +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'packages', 'requests', 'packages', 'urllib3', 'util')) from .__about__ import __version__ from .compat import u, open, is_py3