aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/compat/compat_utils.py
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2023-09-21 10:58:53 -0500
committerGitHub <noreply@github.com>2023-09-21 15:58:53 +0000
commit35f9a306e6934793cff100200cd03f288ec33f11 (patch)
tree23824d337be8307904678b230b73485887ebfed1 /yt_dlp/compat/compat_utils.py
parent9d6254069c75877bc88bc3584f4326fb1853a543 (diff)
[dependencies] Handle deprecation of `sqlite3.version` (#8167)
Closes #8152 Authored by: bashonly
Diffstat (limited to 'yt_dlp/compat/compat_utils.py')
-rw-r--r--yt_dlp/compat/compat_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/compat/compat_utils.py b/yt_dlp/compat/compat_utils.py
index 3ca46d270..d62b7d048 100644
--- a/yt_dlp/compat/compat_utils.py
+++ b/yt_dlp/compat/compat_utils.py
@@ -15,7 +15,7 @@ def get_package_info(module):
name=getattr(module, '_yt_dlp__identifier', module.__name__),
version=str(next(filter(None, (
getattr(module, attr, None)
- for attr in ('__version__', 'version_string', 'version')
+ for attr in ('_yt_dlp__version', '__version__', 'version_string', 'version')
)), None)))