]> jfr.im git - yt-dlp.git/blobdiff - devscripts/make_lazy_extractors.py
[cleanup] misc
[yt-dlp.git] / devscripts / make_lazy_extractors.py
index 427045b98447692762a26d79b41fe9e86700c367..0411df76b980e199a1dc02e2b2353a56c24b2fe1 100644 (file)
@@ -9,7 +9,7 @@
 
 sys.path.insert(0, dirn(dirn((os.path.abspath(__file__)))))
 
-lazy_extractors_filename = sys.argv[1]
+lazy_extractors_filename = sys.argv[1] if len(sys.argv) > 1 else 'yt_dlp/extractor/lazy_extractors.py'
 if os.path.exists(lazy_extractors_filename):
     os.remove(lazy_extractors_filename)