diff --git a/IPython/utils/pickleshare.py b/IPython/utils/pickleshare.py index e0f23f3..e6d2400 100755 --- a/IPython/utils/pickleshare.py +++ b/IPython/utils/pickleshare.py @@ -54,7 +54,7 @@ class PickleShareDB(collections.MutableMapping): """ Return a db object that will manage the specied directory""" self.root = Path(root).expanduser().abspath() if not self.root.isdir(): - self.root.makedirs() + self.root.makedirs_p() # cache has { 'key' : (obj, orig_mod_time) } self.cache = {}