From 7a73e9618b93cf4babdd361aecc44168eb1c44ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Sun, 11 Jan 2026 11:50:12 +0100 Subject: [PATCH] Lint --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 0faf5da..c24d2c1 100644 --- a/main.py +++ b/main.py @@ -298,11 +298,11 @@ if __name__ == "__main__": ) # Generate and save the manifest - new_mpd_content = generate_mpd_manifest(manifest_info) + generated_mpd_content = generate_mpd_manifest(manifest_info) manifest_output_path = args.manifest_output os.makedirs(os.path.dirname(manifest_output_path), exist_ok=True) - with open(manifest_output_path, "w") as f: - f.write(new_mpd_content) + with open(manifest_output_path, "w", encoding="utf-8") as f: + f.write(generated_mpd_content) logger.info("Manifest saved to %s", manifest_output_path) sys.exit(0)