Merge pull request #102 from Plovchikdeval/patch-2

Fix pip command
pull/104/head
Who? 2025-02-17 18:10:29 +07:00 committed by GitHub
commit 6b11bbf5c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ class TerminalMod(loader.Module):
async def pipcmd(self, message):
await self.run_command(
message,
("pip " if os.geteuid() == 0 else "sudo -S apt ")
("pip " if os.geteuid() == 0 else "sudo -S pip ")
+ utils.get_args_raw(message)
)