From c2bed714dc43bc4a8ef4954fe72ae7c98b8bc2c8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 30 Aug 2023 11:37:17 +0200 Subject: [PATCH] call correct conversion function --- eive_tmtc/pus_tc/tc_handler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eive_tmtc/pus_tc/tc_handler.py b/eive_tmtc/pus_tc/tc_handler.py index 10fca86..684a8b0 100644 --- a/eive_tmtc/pus_tc/tc_handler.py +++ b/eive_tmtc/pus_tc/tc_handler.py @@ -10,7 +10,6 @@ from eive_tmtc.pus_tc.procedure_packer import handle_default_procedure from tmtccmd import TcHandlerBase, ProcedureWrapper from tmtccmd.cfdp.defs import CfdpRequestType from tmtccmd.cfdp.handler import CfdpInCcsdsHandler -from tmtccmd.config import cfdp_put_req_params_to_procedure from tmtccmd.logging import get_current_time_string from tmtccmd.logging.pus import RawTmtcTimedLogWrapper from tmtccmd.tc import ( @@ -23,6 +22,7 @@ from tmtccmd.tc import ( ) from tmtccmd.config.cfdp import ( cfdp_req_to_put_req_proxy_get_req, + cfdp_req_to_put_req_regular, ) from spacepackets.ecss import PusVerificator from tmtccmd.util import FileSeqCountProvider @@ -119,7 +119,9 @@ class TcHandler(TcHandlerBase): CFDP_REMOTE_ENTITY_ID, ) else: - put_req = cfdp_put_req_params_to_procedure(put_req_cfg_wrapper.cfg) + put_req = cfdp_req_to_put_req_regular( + put_req_cfg_wrapper.cfg, CFDP_REMOTE_ENTITY_ID + ) _LOGGER.info( f"CFDP: Starting file put request with parameters:\n{put_req}" )