From 930e09828eff7232a2ebdbfb0fb3deb0255363de Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:47:22 -0400 Subject: [PATCH] Always return lowercase file names from SharedContentMap.add_content() --- src/libWiiPy/title/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libWiiPy/title/content.py b/src/libWiiPy/title/content.py index 0e58046..3d773e5 100644 --- a/src/libWiiPy/title/content.py +++ b/src/libWiiPy/title/content.py @@ -588,7 +588,7 @@ class SharedContentMap: # for not just storing these as integers like you did EVERYWHERE else. try: maximum_index = int(self.shared_records[-1].shared_id, 16) - new_index = f"{maximum_index + 1:08X}" + new_index = f"{maximum_index + 1:08X}".lower() except IndexError: new_index = f"{0:08X}" self.shared_records.append(_SharedContentRecord(new_index, content_hash_converted))