mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-25 12:51:01 -04:00
Always return lowercase file names from SharedContentMap.add_content()
This commit is contained in:
parent
a5ce7e9cd1
commit
930e09828e
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user