Commit 10bafe12 authored by Joel Collins's avatar Joel Collins
Browse files

Replace missing configs with empty dictionary

parent 6e4e0fac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -261,6 +261,8 @@ class OpenflexureConfig:
            config_dict (dict): Dictionary of config data to expand
        """
        return_config = {}
        if not config_dict:
            config_dict = {}
        # For each value in the raw loaded config
        for key, value in config_dict.items():
            # If it's a valid expandable parameter