Show More
@@ -72,7 +72,7 b' def get_ipython_dir() -> str:' | |||||
72 | " using a temp directory.".format(parent)) |
|
72 | " using a temp directory.".format(parent)) | |
73 | ipdir = tempfile.mkdtemp() |
|
73 | ipdir = tempfile.mkdtemp() | |
74 | else: |
|
74 | else: | |
75 | os.makedirs(ipdir) |
|
75 | os.makedirs(ipdir, exist_ok=True) | |
76 | assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not." |
|
76 | assert isinstance(ipdir, str), "all path manipulation should be str(unicode), but are not." | |
77 | return ipdir |
|
77 | return ipdir | |
78 |
|
78 |
General Comments 0
You need to be logged in to leave comments.
Login now