From f40a00bc72478b55bbaebf9fd99acd916e0470d8 Mon Sep 17 00:00:00 2001
From: "Robin.Mueller" <robin.mueller.m@gmail.com>
Date: Mon, 6 Jul 2020 15:52:13 +0200
Subject: [PATCH] include in local now

---
 config/obsw_config.py        | 2 +-
 utility/obsw_tmtc_printer.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/obsw_config.py b/config/obsw_config.py
index 305b452..91e0715 100644
--- a/config/obsw_config.py
+++ b/config/obsw_config.py
@@ -11,7 +11,6 @@ import struct
 import pprint
 from typing import Tuple
 import logging
-from obsw_user_code import global_setup_hook
 
 """
 Global service_type definitions
@@ -167,5 +166,6 @@ def set_globals(args):
     G_PRINT_RAW_TM = args.rawDataPrint
     G_COM_PORT = args.com_port
     G_TM_TIMEOUT = args.tm_timeout
+    from obsw_user_code import global_setup_hook
     global_setup_hook()
 
diff --git a/utility/obsw_tmtc_printer.py b/utility/obsw_tmtc_printer.py
index 563b355..24f7703 100644
--- a/utility/obsw_tmtc_printer.py
+++ b/utility/obsw_tmtc_printer.py
@@ -303,7 +303,6 @@ class TmTcPrinter:
                 LOGGER.error("TMTC Printer: Empty packet was sent, configuration error")
                 return
             if tc_packet_info is None:
-                LOGGER.error("TMTC Printer: No packet info supplied to print")
                 return
             if self.display_mode == DisplayMode.SHORT:
                 self.__handle_short_tc_print(tc_packet_info)
-- 
GitLab