fix for HK level parsing
This commit is contained in:
parent
2cc4a18c1e
commit
8743f59b56
3
tmtcc.py
3
tmtcc.py
@ -165,7 +165,10 @@ def setup_params() -> (SetupWrapper, int):
|
||||
post_arg_parsing_wrapper.set_params_with_prompts(proc_param_wrapper)
|
||||
else:
|
||||
post_arg_parsing_wrapper.set_params_without_prompts(proc_param_wrapper)
|
||||
if hasattr(post_arg_parsing_wrapper.args_raw, "hk"):
|
||||
hk_level = int(post_arg_parsing_wrapper.args_raw.hk)
|
||||
else:
|
||||
hk_level = 0
|
||||
params.apid = PUS_APID
|
||||
if params.com_if is None:
|
||||
raise ValueError("could not determine a COM interface.")
|
||||
|
Loading…
Reference in New Issue
Block a user