1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-07-24 09:15:22 +02:00

ensure generated schema from gen_emu_config contains name and description

This commit is contained in:
a 2024-08-17 18:29:38 +03:00
parent 7e768c73fe
commit 41570b0fa5

View file

@ -32,9 +32,9 @@ def generate_stats_achievements(
out['hidden'] = 0
for x in ach['display']:
value = ach['display'][x]
if x == 'name':
if f'{x}'.lower() == 'name':
x = 'displayName'
elif x == 'desc':
elif f'{x}'.lower() == 'desc':
x = 'description'
elif x == 'Hidden' or f'{x}'.lower() == 'hidden':
x = 'hidden'