Show More
@@ -54,7 +54,7 b' class PickleShareDB(collections.MutableMapping):' | |||
|
54 | 54 | """ Return a db object that will manage the specied directory""" |
|
55 | 55 | self.root = Path(root).expanduser().abspath() |
|
56 | 56 | if not self.root.isdir(): |
|
57 | self.root.makedirs() | |
|
57 | self.root.makedirs_p() | |
|
58 | 58 | # cache has { 'key' : (obj, orig_mod_time) } |
|
59 | 59 | self.cache = {} |
|
60 | 60 |
General Comments 0
You need to be logged in to leave comments.
Login now