diff options
-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 c419bec8..6a1c3d5a 100644 --- a/isort/finders.py +++ b/isort/finders.py @@ -140,6 +140,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 = False if self.virtual_env: self.virtual_env_src = '{0}/src/'.format(self.virtual_env) |