mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
ensure generated schema from gen_emu_config contains name and description
This commit is contained in:
parent
7e768c73fe
commit
41570b0fa5
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user