Skip to content

Commit

Permalink
Merge pull request #1482 from rgant/pipenv-str-cmds
Browse files Browse the repository at this point in the history
Handle str cmd in ask_pipenv
  • Loading branch information
kaste committed Aug 17, 2018
2 parents 5a49a54 + 55d19f1 commit 7960b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint/base_linter/python_linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def context_sensitive_executable_path(self, cmd):
# If we're here the user didn't specify anything. This is the default
# experience. So we kick in some 'magic'
cwd = self.get_working_dir(settings)
executable = ask_pipenv(cmd[0], cwd)
executable = ask_pipenv(cmd_name, cwd)
if executable:
logger.info(
"{}: Using {} according to 'pipenv'"
Expand Down

0 comments on commit 7960b62

Please sign in to comment.