1
0
mirror of synced 2024-11-27 23:50:47 +01:00

Fix a few nits from recent PR.

This commit is contained in:
Jennifer Taylor 2021-09-06 18:56:49 +00:00
parent 34884d8377
commit 6d258f1027
3 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ class Triggers:
GameConstants.DDR: 'Dance Dance Revolution',
GameConstants.IIDX: 'Beatmania IIDX',
GameConstants.JUBEAT: 'Jubeat',
GameConstants.MGA: 'Metal Gear Arcade',
GameConstants.MUSECA: 'MÚSECA',
GameConstants.POPN_MUSIC: 'Pop\'n Music',
GameConstants.REFLEC_BEAT: 'Reflec Beat',

View File

@ -360,7 +360,7 @@ def navigation() -> Dict[str, Any]:
'label': 'Metal Gear Arcade',
'entries': mga_entries,
'base_uri': app.blueprints['mga_pages'].url_prefix,
'gamecode': GameConstants.MGA,
'gamecode': GameConstants.MGA.value,
},
)

View File

@ -15,7 +15,7 @@ from bemani.frontend.types import g
mga_pages = Blueprint(
'mga_pages',
__name__,
url_prefix='/mga',
url_prefix=f'/{GameConstants.MGA.value}',
template_folder=templates_location,
static_folder=static_location,
)