mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
fix binary location
This commit is contained in:
parent
3e365830d6
commit
6de20b85e0
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ class OtherCog(commands.Cog):
|
|||
await ctx.defer()
|
||||
await ctx.edit(content="Downloading video...")
|
||||
try:
|
||||
venv = Path.cwd() / "venv"
|
||||
venv = Path.cwd() / "venv" / ("Scripts" if os.name == "nt" else "bin")
|
||||
if venv:
|
||||
venv = venv.absolute().resolve()
|
||||
if str(venv) not in os.environ["PATH"]:
|
||||
|
|
Loading…
Reference in a new issue