From 4a69ff5543e41253b2eb2fb8c744bfe98229e95e Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 12 Sep 2024 11:15:42 +0200 Subject: [PATCH] Icons: Protect from reuse false recognition --- .icons/rebuild.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.icons/rebuild.py b/.icons/rebuild.py index dee8487..f176a01 100644 --- a/.icons/rebuild.py +++ b/.icons/rebuild.py @@ -18,6 +18,7 @@ outname = outname + ".png" cairosvg.svg2png(bytestring=svg, write_to=outname, output_width=20, output_height=20) with open(outname + ".license", "w") as licensefile: - print("SPDX-License-Identifier: CC-BY-3.0", file=licensefile) + # String is split up because reuse tools would otherwise think this applies here + print("SPDX-License" + "-Identifier: CC-BY-3.0", file=licensefile) print(f"SPDX-License-CopyrightText: {author}", file=licensefile) print(f"Original file from https://game-icons.net/1x1/{author}/{iconname}.html", file=licensefile)