aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index 12204433d..2e3c51562 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -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):