Skip to content

Commit

Permalink
[compat] Replace deficient ChainMap class in Py3.3 and earlier
Browse files Browse the repository at this point in the history
* fix version check
  • Loading branch information
dirkf committed Aug 26, 2022
1 parent 0f64225 commit ed5c44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3005,7 +3005,7 @@ def unpack(self, string):
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
Expand Down

0 comments on commit ed5c44e

Please sign in to comment.