diff --git a/loaih/__init__.py b/loaih/__init__.py index b07746c..b055959 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -47,9 +47,9 @@ class Build(object): self.appimagefilename[u'x86'] = self.appname + '-' + self.version + self.languagepart + self.helppart + '-x86.AppImage' self.appimagefilename[u'x86_64'] = self.appname + '-' + v.version + self.languagepart + self.helppart + '-x86_64.AppImage' - version = str.join('.', self.version.split('.')[0:2]) - self.zsyncfilename[u'x86'] = self.appname + '-' + version + self.languagepart + self.helppart + '-x86.AppImage.zsync' - self.zsyncfilename[u'x86_64'] = self.appname + '-' + version + self.languagepart + self.helppart + '-x86_64.AppImage.zsync' + myver = str.join('.', self.version.split('.')[0:2]) + self.zsyncfilename[u'x86'] = self.appname + '-' + myver + self.languagepart + self.helppart + '-x86.AppImage.zsync' + self.zsyncfilename[u'x86_64'] = self.appname + '-' + myver + self.languagepart + self.helppart + '-x86_64.AppImage.zsync' def check(self, storage_path):