diff options
author | Brian May <brian@linuxpenguins.xyz> | 2019-03-05 12:33:14 +1100 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-03-04 21:19:51 -0800 |
commit | a2246c834f2f929099fddc86dfc0c70c1d1c1ba4 (patch) | |
tree | ca1c692971608cd52ce7af0d8fe614bc57478339 | |
parent | de7de485f24fe1a217b4e9e93b0fd2062a207d74 (diff) | |
download | isort-a2246c834f2f929099fddc86dfc0c70c1d1c1ba4.tar.gz |
Merge in fix for issue #876
-rw-r--r-- | isort/finders.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/isort/finders.py b/isort/finders.py index ccf6caac..11f481ab 100644 --- a/isort/finders.py +++ b/isort/finders.py @@ -128,6 +128,7 @@ class PathFinder(BaseFinder): # virtual env self.virtual_env = self.config.get('virtual_env') or os.environ.get('VIRTUAL_ENV') + self.virtual_env = os.path.realpath(self.virtual_env) self.virtual_env_src = '' if self.virtual_env: self.virtual_env_src = '{0}/src/'.format(self.virtual_env) |