aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/make_lazy_extractors.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-27 13:45:45 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-27 16:12:36 +0530
commitc1714454313e01c94a7e55e1cb99d439ff933a43 (patch)
tree7b13d33e824eaf837959f434fea1b439f733cea2 /devscripts/make_lazy_extractors.py
parent4f8095235321632ac2785dda2f038bc2aedba4d9 (diff)
downloadhypervideo-pre-c1714454313e01c94a7e55e1cb99d439ff933a43.tar.lz
hypervideo-pre-c1714454313e01c94a7e55e1cb99d439ff933a43.tar.xz
hypervideo-pre-c1714454313e01c94a7e55e1cb99d439ff933a43.zip
[cleanup,build] Cleanup some build-related code
Fixes an issue in 7ab56be2c7309a2d11d4ee28c71f8fb29da21ef7
Diffstat (limited to 'devscripts/make_lazy_extractors.py')
-rw-r--r--devscripts/make_lazy_extractors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/make_lazy_extractors.py b/devscripts/make_lazy_extractors.py
index 5e2070602..6dc8fed90 100644
--- a/devscripts/make_lazy_extractors.py
+++ b/devscripts/make_lazy_extractors.py
@@ -21,7 +21,7 @@ from yt_dlp.extractor.common import InfoExtractor, SearchInfoExtractor
if os.path.exists(plugins_blocked_dirname):
os.rename(plugins_blocked_dirname, plugins_dirname)
-with open('devscripts/lazy_load_template.py') as f:
+with open('devscripts/lazy_load_template.py', encoding='utf-8') as f:
module_template = f.read()
CLASS_PROPERTIES = ['ie_key', 'working', '_match_valid_url', 'suitable', '_match_id', 'get_temp_id']