Skip to content

Commit cdd938f

Browse files
author
Сосна Евгений
committed
tab vs space.
1 parent 716329a commit cdd938f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyv8unpack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ def checker():
7676

7777
#Скопируем сначало просто структуру каталогов.
7878
if not os.path.exists(dirsource):
79-
os.mkdir(dirsource)
79+
os.makedirs(dirsource)
8080
#для каждого файла определим новую папку.
8181
newsourcepath = os.path.join(dirsource, newdirname, basename)
8282
logging.info("create new dir %s" % newsourcepath)
8383
if not os.path.exists(newsourcepath):
8484
logging.info("create new dir %s" % newsourcepath)
85-
os.mkdir(newsourcepath)
85+
os.makedirs(newsourcepath)
8686

8787
logging.info("file to copy %s, new path %s, new file %s" % (filename, newsourcepath,
8888
os.path.join(newsourcepath,fullbasename)))

0 commit comments

Comments
 (0)