update for changed tmtccmd API

This commit is contained in:
2022-04-06 11:43:17 +02:00
parent 3f5d77a5e5
commit b2acb7fec5
4 changed files with 22 additions and 44 deletions

View File

@ -13,8 +13,7 @@ from config.definitions import CustomServiceList, PUS_APID
from config.custom_mode_op import CustomModeList
from tmtccmd.config.definitions import CoreComInterfaces
from tmtccmd.config.globals import (
set_default_globals_pre_args_parsing,
set_default_globals_post_args_parsing,
set_default_globals_pre_args_parsing
)
from tmtccmd.logging import get_console_logger
@ -34,12 +33,3 @@ def set_globals_pre_args_parsing(gui: bool = False):
tm_apid=PUS_APID,
com_if_id=CoreComInterfaces.TCPIP_UDP.value,
)
def add_globals_post_args_parsing(args: argparse.Namespace, json_cfg_path: str):
set_default_globals_post_args_parsing(
args=args,
custom_services_list=[CustomServiceList],
custom_modes_list=[CustomModeList],
json_cfg_path=json_cfg_path,
)