Fix checksum che torna valore non valido.

This commit is contained in:
Emiliano Vavassori 2023-01-05 01:56:33 +01:00
parent 05533bf5e2
commit 07a895c86c
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ class Build(loaih.RemoteBuild):
def checksums(self):
"""Create checksums of the built versions."""
# Skip checksum if initally the build was already found in the storage directory
if all(self.built.values()):
if all(self.built[arch] for arch in self.arch):
return
os.chdir(self.appnamedir)
@ -330,7 +330,7 @@ class Build(loaih.RemoteBuild):
def publish(self):
"""Moves built versions to definitive storage."""
if all(self.built.values()):
if all(self.built[arch] for arch in self.arch):
# All files are already present in the full_path
return