better error for import issue
This commit is contained in:
@ -30,10 +30,11 @@ import sys
|
||||
from config.hook_implementation import FsfwHookBase
|
||||
try:
|
||||
from tmtccmd.runner import run_tmtc_commander, initialize_tmtc_commander
|
||||
except ImportError:
|
||||
except ImportError as error:
|
||||
run_tmtc_commander = None
|
||||
initialize_tmtc_commander = None
|
||||
print("Python tmtccmd submodule not installed")
|
||||
print(error)
|
||||
print("Python tmtccmd submodule could not be imported")
|
||||
print("Install with \"cd tmtccmd && python3 -m pip install -e .\" for interactive installation")
|
||||
sys.exit(0)
|
||||
|
||||
|
Submodule tmtc/tmtccmd updated: 0d91e26bc5...e0b36e1e47
Reference in New Issue
Block a user