Explorar o código

[compat] Replace deficient ChainMap class in Py3.3 and earlier
* fix version check

dirkf %!s(int64=3) %!d(string=hai) anos
pai
achega
ed5c44e7b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/compat.py

+ 1 - 1
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