[cleanup,build] Cleanup some build-related code

Fixes an issue in 7ab56be2c7
This commit is contained in:
pukkandan 2022-04-27 13:45:45 +05:30
parent 4f80952353
commit c171445431
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
8 changed files with 61 additions and 39 deletions

View file

@ -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']