Switch conditions

This commit is contained in:
Chris Hunt 2019-12-24 16:59:24 -05:00
parent 554db9230d
commit 5c90145462
1 changed files with 2 additions and 2 deletions

View File

@ -542,8 +542,8 @@ class RequirementPreparer(object):
req, self.req_tracker, self.finder, self.build_isolation,
)
if link.is_existing_dir():
if download_dir:
if download_dir:
if link.is_existing_dir():
logger.info('Link is a directory, ignoring download_dir')
if self._download_should_save: