MUSECA PLUS: Webui fix
This commit is contained in:
parent
13c0d02e45
commit
349a34d25d
@ -101,7 +101,7 @@ def viewnetworkrecords() -> Response:
|
||||
frontend = MusecaFrontend(g.data, g.config, g.cache)
|
||||
network_records = frontend.get_network_records()
|
||||
versions = {version: name for (game, version, name) in frontend.all_games()}
|
||||
versions[0] = 'CS and Licenses'
|
||||
versions[10002] = 'MÚSECA PLUS'
|
||||
|
||||
return render_react(
|
||||
'Global MÚSECA Records',
|
||||
@ -139,6 +139,7 @@ def viewrecords(userid: UserID) -> Response:
|
||||
if info is None:
|
||||
abort(404)
|
||||
versions = {version: name for (game, version, name) in frontend.all_games()}
|
||||
versions[10002] = 'MÚSECA PLUS' # Hard code this version name for modpack songs
|
||||
|
||||
return render_react(
|
||||
f'{info["name"]}\'s MÚSECA Records',
|
||||
|
@ -2852,7 +2852,7 @@ class ImportMuseca(ImportBase):
|
||||
elif actual_version == VersionConstants.MUSECA_1_PLUS + DBConstants.OMNIMIX_VERSION_BUMP:
|
||||
self.charts = [0, 1, 2, 3]
|
||||
else:
|
||||
raise Exception("Unsupported Museca version, expected one of the following: 1, 1+1/2!")
|
||||
raise Exception("Unsupported Museca version, expected one of the following: 1, 1+1/2, plus!")
|
||||
|
||||
super().__init__(config, GameConstants.MUSECA, actual_version, no_combine, update)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user