1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[update] Expose more functionality to API

This commit is contained in:
pukkandan
2022-06-21 17:02:56 +05:30
parent f0500bd1e4
commit 57e0f077a6
4 changed files with 159 additions and 119 deletions

View File

@@ -55,7 +55,7 @@ def compat_ord(c):
def compat_realpath(path):
while os.path.islink(path):
path = os.path.abspath(os.readlink(path))
return path
return os.path.realpath(path)
else:
compat_realpath = os.path.realpath