From 93de182938a4e5e314c96fd9a21a72af77dc56ad Mon Sep 17 00:00:00 2001 From: dmitri-mcguckin Date: Mon, 1 Jan 2024 20:32:30 -0500 Subject: [PATCH] Revert to exclusively underscores in file name --- oresat_configs/scripts/gen_xtce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oresat_configs/scripts/gen_xtce.py b/oresat_configs/scripts/gen_xtce.py index d606ad2..0d775fe 100644 --- a/oresat_configs/scripts/gen_xtce.py +++ b/oresat_configs/scripts/gen_xtce.py @@ -290,7 +290,7 @@ def write_xtce(config: OreSatConfig, dir_path: str = "."): # write tree = ET.ElementTree(root) ET.indent(tree, space=" ", level=0) - file_name = f"{config.oresat_id.name.lower().replace('_', '.')}.xtce" + file_name = f"{config.oresat_id.name.lower()}.xtce" tree.write(f"{dir_path}/{file_name}", encoding="utf-8", xml_declaration=True)