]> jfr.im git - yt-dlp.git/blobdiff - devscripts/make_lazy_extractors.py
[cleanup,build] Cleanup some build-related code
[yt-dlp.git] / devscripts / make_lazy_extractors.py
index 5e2070602653456e67d4a07131b9950e6519141d..6dc8fed90aa2d9ac7cf3c96199f59a01631a9bbb 100644 (file)
@@ -21,7 +21,7 @@
 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']