From c2d3c9d21aedcd611b7a9b9904ba2ac308b9e518 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Mon, 21 Mar 2022 00:30:22 +0100 Subject: [PATCH] Correzione chiamata di variabile in controllo di esistenza build. --- loaih/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loaih/__init__.py b/loaih/__init__.py index 6d0c812..0792e7d 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -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