Skip to content

Commit cde5ef6

Browse files
Do not attempt to create cache dir when only needing to read it
Fix #59
1 parent 17dfca7 commit cde5ef6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

memestra/caching.py

-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ class SharedCache(object):
223223

224224
def __init__(self):
225225
shared_dir = os.path.join(sys.prefix, 'share', 'memestra')
226-
os.makedirs(shared_dir, exist_ok=True)
227226
self.cache_entries = {}
228227

229228
for root, dirs, files in os.walk(shared_dir):

0 commit comments

Comments
 (0)