compact code
This commit is contained in:
@@ -11,7 +11,7 @@ settings = QSettings("Paul Scherrer Institut", "SwissMX")
|
||||
inst_folder = Path(__file__).absolute().parent
|
||||
|
||||
config_file = inst_folder / "swissmx.yaml"
|
||||
configs = yaml.load(config_file.read_text())
|
||||
configs = yaml.load(config_file.read_text(),Loader=yaml.FullLoader)
|
||||
endstation = configs["configure_for"]
|
||||
appsconf = configs[endstation]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user