diff options
author | dirkf <fieldhouse@gmx.net> | 2022-08-26 12:22:01 +0100 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2022-08-26 12:22:01 +0100 |
commit | ed5c44e7b74ac77f87ca5ed6cb5e964a0c6a0678 (patch) | |
tree | 148af8df2ba32138c643c2792b4cafa998455002 /youtube_dl | |
parent | 0f6422590e44e99e9b81cf2367666efe89fae3aa (diff) | |
download | youtube-dl-ed5c44e7b74ac77f87ca5ed6cb5e964a0c6a0678.tar.gz youtube-dl-ed5c44e7b74ac77f87ca5ed6cb5e964a0c6a0678.tar.xz |
[compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py index 366a93924..eca6d63de 100644 --- a/youtube_dl/compat.py +++ b/youtube_dl/compat.py @@ -3005,7 +3005,7 @@ except ImportError: try: from collections import ChainMap as compat_collections_chain_map # Py3.3's ChainMap is deficient - if sys.version_info <= (3, 3): + if sys.version_info < (3, 4): raise ImportError except ImportError: # Py <= 3.3 |