mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-28 11:24:15 +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…
x
Reference in New Issue
Block a user