##// END OF EJS Templates
create ipython_dir if not exists
Bibo Hao -
Show More
@@ -71,6 +71,8 b' def get_ipython_dir() -> str:'
71 71 warn("IPython parent '{0}' is not a writable location,"
72 72 " using a temp directory.".format(parent))
73 73 ipdir = tempfile.mkdtemp()
74 else:
75 os.makedirs(ipdir)
74 76 assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not."
75 77 return ipdir
76 78
General Comments 0
You need to be logged in to leave comments. Login now