1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-30 14:15:13 +00:00

[build, cleanup] Refactor

Closes #3835, #3837
This commit is contained in:
pukkandan
2022-05-22 17:07:18 +05:30
parent 92922fe7f9
commit b5899f4f19
5 changed files with 339 additions and 409 deletions

View File

@@ -4904,9 +4904,9 @@ def make_dir(path, to_screen=None):
def get_executable_path():
from .update import get_variant_and_executable_path
from .update import _get_variant_and_executable_path
return os.path.abspath(get_variant_and_executable_path()[1])
return os.path.dirname(os.path.abspath(_get_variant_and_executable_path()[1]))
def load_plugins(name, suffix, namespace):