Commit 3fa26cdd authored by Antonia Beteva's avatar Antonia Beteva

Using get method to avoid exception if no program in config.

parent 64526c19
Pipeline #7179 passed with stages
in 19 minutes and 51 seconds
......@@ -55,7 +55,7 @@ class Opiom:
self._cnx = get_comm(comm_config, ctype=comm_type, timeout=3)
self._cnx.flush()
self.__program = config_tree["program"]
self.__program = config_tree.get("program")
self.__base_path = config_tree.get("opiom_prg_root", OPIOM_PRG_ROOT)
self.__debug = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment