##// END OF EJS Templates
Merge pull request #13336 from meeseeksmachine/auto-backport-of-pr-13334-on-7.x...
Matthias Bussonnier -
r27170:696d7c56 merge
parent child Browse files
Show More
@@ -67,7 +67,7 b' def get_ipython_dir() -> str:'
67 " using a temp directory.".format(parent))
67 " using a temp directory.".format(parent))
68 ipdir = tempfile.mkdtemp()
68 ipdir = tempfile.mkdtemp()
69 else:
69 else:
70 os.makedirs(ipdir)
70 os.makedirs(ipdir, exist_ok=True)
71 assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
71 assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
72 return ipdir
72 return ipdir
73
73
General Comments 0
You need to be logged in to leave comments. Login now