mirror of
https://github.com/NohamR/OqeeRewind.git
synced 2026-01-12 00:58:12 +00:00
Lint
This commit is contained in:
6
main.py
6
main.py
@@ -298,11 +298,11 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Generate and save the manifest
|
# 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
|
manifest_output_path = args.manifest_output
|
||||||
os.makedirs(os.path.dirname(manifest_output_path), exist_ok=True)
|
os.makedirs(os.path.dirname(manifest_output_path), exist_ok=True)
|
||||||
with open(manifest_output_path, "w") as f:
|
with open(manifest_output_path, "w", encoding="utf-8") as f:
|
||||||
f.write(new_mpd_content)
|
f.write(generated_mpd_content)
|
||||||
logger.info("Manifest saved to %s", manifest_output_path)
|
logger.info("Manifest saved to %s", manifest_output_path)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user