aboutsummaryrefslogtreecommitdiffhomepage
path: root/devscripts
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts')
-rw-r--r--devscripts/make_lazy_extractors.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.py
index 4bddca047..a8b6ff1b9 100644
--- a/devscripts/make_lazy_extractors.py
+++ b/devscripts/make_lazy_extractors.py
@@ -6,10 +6,6 @@ import os
from os.path import dirname as dirn
import sys
-from youtube_dl.compat import compat_register_utf8
-
-compat_register_utf8()
-
print('WARNING: Lazy loading extractors is an experimental feature that may not always work', file=sys.stderr)
sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
@@ -23,6 +19,10 @@ try:
except OSError:
pass
+from youtube_dl.compat import compat_register_utf8
+
+compat_register_utf8()
+
from youtube_dl.extractor import _ALL_CLASSES
from youtube_dl.extractor.common import InfoExtractor, SearchInfoExtractor