1
0

Correzione chiamata di variabile in controllo di esistenza build.

This commit is contained in:
Emiliano Vavassori 2022-03-21 00:30:22 +01:00
parent 60db034067
commit c2d3c9d21a

View File

@ -51,7 +51,7 @@ class Build(object):
for arch in self.arch:
res = subprocess.check_output("find {path} -name '{appimage}'".format(
path = self.storage_path,
appimage = self.appimagefilename[arch] + '.zsync' if self.updatable else ''
appimage = self.appimagefilename[arch] + ('.zsync' if self.updatable else '')
), shell=True).decode('utf-8').strip('\n')
if len(res) > 1:
self.built = True