Skip to content

Commit 7bca065

Browse files
authored
Merge pull request #439 from pysal/multiple-worker-crashloop-patch
Bug fix for parallel execution environments
2 parents 66fafee + 1403b7c commit 7bca065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpysal/examples/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_data_home():
3939
data_home = environ.get("PYSALDATA", join("~", PYSALDATA))
4040
data_home = expanduser(data_home)
4141
if not exists(data_home):
42-
makedirs(data_home)
42+
makedirs(data_home, exist_ok=True)
4343
return data_home
4444

4545

0 commit comments

Comments
 (0)