Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #357 from iamsauravsharma/fix-self-upgrade
Browse files Browse the repository at this point in the history
fix dephell self upgrade fail
  • Loading branch information
orsinium committed Jan 23, 2020
2 parents 9a4dd20 + 0cd46f4 commit 38f7c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dephell/commands/self_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _upgrade_repo(self, path: Path) -> bool:
return (result.returncode == 0)

def _upgrade_package(self) -> bool:
manager = PackageManager(executable=sys.executable)
manager = PackageManager(executable=Path(sys.executable))
args = ['-U']
if manager.is_global:
args.append('--user')
Expand Down

0 comments on commit 38f7c09

Please sign in to comment.