8000 fix · onlyice/leetcode@6527c2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 6527c2f

Browse files
committed
fix
1 parent d2c1ccd commit 6527c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode_generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def rep_unicode_in_code(code):
9090
def check_and_make_dir(dirname):
9191
p = Path(dirname)
9292
if not p.exists():
93-
p.make_dir(parents=true)
93+
p.mkdir(parents=true)
9494

9595

9696
ProgLang = namedtuple('ProgLang', ['language', 'ext', 'annotation'])

0 commit comments

Comments
 (0)
0