diff --git a/snakeboxed/cogs/owner.py b/snakeboxed/cogs/owner.py index ae3a3ef..52d5222 100644 --- a/snakeboxed/cogs/owner.py +++ b/snakeboxed/cogs/owner.py @@ -43,7 +43,7 @@ async def update(self, ctx: commands.Context, commit_id: Optional[str]): update_file ) - pip_upgrade_command = [sys.executable, 'install' '-r', str(REQUIREMENTS_FILE_PATH)] + pip_upgrade_command = [sys.executable, '-m', 'pip', 'install', '-r', str(REQUIREMENTS_FILE_PATH)] pull_command = [str(self.pm2_binary), 'pull', self.pm2_name] if commit_id is not None: pull_command.append(commit_id)