- fix installation for empty directories. and get rid of install/ directory in /...
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ class ArchiveZip(ArchiveBase):
|
||||
|
||||
if is_dir: # this is a directory
|
||||
try: # To get rid of Error:[Errno 17] File exists: errors
|
||||
os.makedirs(os.path.join(target_dir, info.filename))
|
||||
os.makedirs(os.path.join(target_dir, outpath))
|
||||
except OSError:
|
||||
pass
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user