Fix mismatches between data and Config class

master
Beq 2024-09-16 16:55:50 +01:00
parent 753fb2bc75
commit 529ece5e01
2 changed files with 2 additions and 7 deletions

View File

@ -35,10 +35,6 @@
"Alpha": "alpha", "Alpha": "alpha",
"Nightly": "nightly" "Nightly": "nightly"
}, },
"grid_type_mapping": {
"SecondLife": "sl",
"OpenSim": "os"
},
"build_type_mapping": { "build_type_mapping": {
"regular": "regular", "regular": "regular",
"avx": "avx", "avx": "avx",

View File

@ -9,12 +9,11 @@ class BuildConfig:
self.supported_os_dirs = config_data.get('os_download_dirs', []) self.supported_os_dirs = config_data.get('os_download_dirs', [])
# channel_to_build_type is a map from Beta, Release and Nightly to folder names preview release and nightly # channel_to_build_type is a map from Beta, Release and Nightly to folder names preview release and nightly
self.build_type_hosted_folder = config_data.get('build_types', {}) self.build_type_hosted_folder = config_data.get('build_type_hosted_folder', {})
self.fs_version_mgr_platform = config_data.get('fs_version_mgr_platform', {}) self.fs_version_mgr_platform = config_data.get('fs_version_mgr_platform', {})
self.os_hosted_folder = config_data.get('target_folder', {}) self.os_hosted_folder = config_data.get('os_hosted_folder', {})
self.platforms_printable = config_data.get('platforms_printable', {}) self.platforms_printable = config_data.get('platforms_printable', {})
self.grids_printable = config_data.get('grids_printable', {}) self.grids_printable = config_data.get('grids_printable', {})
self.download_root = config_data.get('download_root', '') self.download_root = config_data.get('download_root', '')
self.viewer_channel_mapping = config_data.get('viewer_channel_mapping', {}) self.viewer_channel_mapping = config_data.get('viewer_channel_mapping', {})
self.grid_type_mapping = config_data.get('grid_type_mapping', {})
self.build_type_mapping = config_data.get('build_type_mapping', {}) self.build_type_mapping = config_data.get('build_type_mapping', {})