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