mirror of https://github.com/coddrago/Heroku
Update terminal.py
parent
32afe153f8
commit
c5cedc704d
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue