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 a55a5b4 commit 7a20999Copy full SHA for 7a20999
1 file changed
IPython/paths.py
@@ -71,6 +71,8 @@ def get_ipython_dir() -> str:
71
warn("IPython parent '{0}' is not a writable location,"
72
" using a temp directory.".format(parent))
73
ipdir = tempfile.mkdtemp()
74
+ else:
75
+ os.makedirs(ipdir)
76
assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
77
return ipdir
78
0 commit comments