do not update yt-dlp executable when running in Docker

This commit is contained in:
dark_zoul committed 2025-10-15 21:37:04 +03:00
1 parent e1278308d1
commit 0498857920
1 file changed
+2 -2
+2 -2
View File
@@ -518,6 +518,6 @@ class PlaylistManager:
if __name__ == "__main__": if __name__ == "__main__":
cfg = ConfigLoader("yt-playlist-config.json") cfg = ConfigLoader("yt-playlist-config.json")
update_yt_dlp(cfg.yt_dlp_path) #update yt-dpl executable if not is_docker(): update_yt_dlp(cfg.yt_dlp_path) #update yt-dpl executable
manager = PlaylistManager(cfg) manager = PlaylistManager(cfg)
manager.run() manager.run()