added changing model when configuring for BOS S9s

This commit is contained in:
UpstreamData
2022-03-25 08:58:02 -06:00
parent 02581e917d
commit c3b23313ba
6 changed files with 45 additions and 24 deletions

View File

@@ -80,7 +80,7 @@ async def import_config_file(file_location):
async def export_config_file(file_location, config):
await update_ui_with_data("status", "Exporting")
config = await general_config_convert_bos(config)
config = toml.dumps(await general_config_convert_bos(config))
config = toml.loads(config)
config['format']['generator'] = 'upstream_config_util'
config['format']['timestamp'] = int(time.time())