diff --git a/youtube_dlc/extractor/__init__.py b/youtube_dlc/extractor/__init__.py index 56251384d..38f6df181 100644 --- a/youtube_dlc/extractor/__init__.py +++ b/youtube_dlc/extractor/__init__.py @@ -7,9 +7,10 @@ from .lazy_extractors import _ALL_CLASSES _LAZY_LOADER = True _PLUGIN_CLASSES = [] - except ImportError: _LAZY_LOADER = False + +if not _LAZY_LOADER: from .extractors import * _PLUGIN_CLASSES = load_plugins('extractor', 'IE', globals())