Commit a1e1ac29 authored by Betoule Marc's avatar Betoule Marc
Browse files

Correct a bug in load_params

parent e27ede60
......@@ -429,7 +429,7 @@ class Environment(EnvironmentBase):
except IOError:
self.logger.warning('No such file: %s'%filename)
except UnpicklingError:
except pickle.UnpicklingError:
self.logger.warning('Failed to unpickle from file: %s'%filename)
if param_name == '*':
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