Correzione opzione exist_ok su makedirs()

This commit is contained in:
Emiliano Vavassori 2022-03-21 01:11:17 +01:00
parent 3422c5e931
commit 71edb785d2
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Build(object):
tarballs = self.tarballs[arch] tarballs = self.tarballs[arch]
maintarball = tarballs[0] maintarball = tarballs[0]
os.makedirs(self.download_path, existok = True) os.makedirs(self.download_path, exist_ok = True)
os.chdir(self.download_path) os.chdir(self.download_path)
for archive in tarballs: for archive in tarballs:
# If the archive is already there, do not do anything. # If the archive is already there, do not do anything.