Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a57d41 commit f9b36a4Copy full SHA for f9b36a4
1 file changed
IPython/paths.py
@@ -72,7 +72,7 @@ def get_ipython_dir() -> str:
72
" using a temp directory.".format(parent))
73
ipdir = tempfile.mkdtemp()
74
else:
75
- os.makedirs(ipdir)
+ os.makedirs(ipdir, exist_ok=True)
76
assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
77
return ipdir
78
0 commit comments