mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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.defer()
|
||||||
await ctx.edit(content="Downloading video...")
|
await ctx.edit(content="Downloading video...")
|
||||||
try:
|
try:
|
||||||
venv = Path.cwd() / "venv"
|
venv = Path.cwd() / "venv" / ("Scripts" if os.name == "nt" else "bin")
|
||||||
if venv:
|
if venv:
|
||||||
venv = venv.absolute().resolve()
|
venv = venv.absolute().resolve()
|
||||||
if str(venv) not in os.environ["PATH"]:
|
if str(venv) not in os.environ["PATH"]:
|
||||||
|
|
Loading…
Reference in a new issue