diff --git a/dstat_interface/params.py b/dstat_interface/params.py index 6d384e6c806a47526d100377e3cac627a050e202..0aa85802c1dd47a248743b01beb1c8dc84b55f74 100755 --- a/dstat_interface/params.py +++ b/dstat_interface/params.py @@ -61,6 +61,8 @@ def load_params(window, path): get_params(window) except InputError: # Will be thrown because no experiment will be selected pass + except KeyError: # Will be thrown because no experiment will be selected + pass with open(path, 'r') as f: params = yaml.load(f)