From 23498f96102e94a4ccdb187fc46c9cb99272bb53 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Fri, 10 Apr 2020 13:20:45 +0200 Subject: [PATCH] type annotation replaced by object --- sendreceive/obsw_single_command_sender_receiver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sendreceive/obsw_single_command_sender_receiver.py b/sendreceive/obsw_single_command_sender_receiver.py index c80116e..4fa2ea0 100644 --- a/sendreceive/obsw_single_command_sender_receiver.py +++ b/sendreceive/obsw_single_command_sender_receiver.py @@ -11,7 +11,7 @@ import logging from sendreceive.obsw_command_sender_receiver import CommandSenderReceiver from sendreceive.obsw_tm_listener import TmListenerT -from comIF.obsw_com_interface import ComIfT +from comIF.obsw_com_interface import CommunicationInterface from utility.obsw_tmtc_printer import TmTcPrinterT import config.OBSW_Config as g @@ -21,8 +21,8 @@ class SingleCommandSenderReceiver(CommandSenderReceiver): Specific implementation of CommandSenderReceiver to send a single telecommand This object can be used by instantiating it and calling sendSingleTcAndReceiveTm() """ - def __init__(self, comInterface: ComIfT, tmtcPrinter: TmTcPrinterT, tmListener: TmListenerT, - pusPacketTuple: tuple): + def __init__(self, comInterface: CommunicationInterface, tmtcPrinter: TmTcPrinterT, + tmListener: TmListenerT, pusPacketTuple: tuple): """ :param comInterface: CommunicationInterface object, passed on to CommandSenderReceiver :param tmListener: TmListener object which runs in the background and receives all TM -- GitLab