From 52d9a0ec3d8b5be8383bc681f9ae731c316e0959 Mon Sep 17 00:00:00 2001 From: Joseph Abbey Date: Thu, 18 Jan 2024 21:20:34 +0000 Subject: [PATCH] Update iconResize.py --- iconResize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iconResize.py b/iconResize.py index fdbb378..24fb633 100644 --- a/iconResize.py +++ b/iconResize.py @@ -91,7 +91,7 @@ for screen_size, icon_sizes in lookup.items(): svg.attrs["width"] = lookup[screen_size][Half] svg.attrs["height"] = lookup[screen_size][Half] with open(output_dir + "/" + entry, "wb") as o: - o.write(svg.encode("utf-8")) + o.write(svg.encode("utf-8") + b"\n") elif entry.endswith(".xml"): print("Create file: ", entry.ljust(40) + " XML - Copy file") shutil.copyfile(input_dir + "/" + entry, output_dir + "/" + entry)