From 5ce7f5cc071694929eb23d30da8d5844fe7d9853 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Thu, 31 Mar 2022 01:03:32 +0200 Subject: [PATCH] Rimozione forzatura stringa utf-8 da libreria. --- loaih/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/loaih/__init__.py b/loaih/__init__.py index 89f05d1..0d2c402 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -35,7 +35,7 @@ class Build(object): self.appname = 'LibreOffice' if not self.query == 'daily' and not self.query == 'prerelease' else 'LibreOfficeDev' self.version = v.version self.url = v.basedirurl - self.built = { u'x86': False, u'x86_64': False } + self.built = { 'x86': False, 'x86_64': False } # Preparing the default for the relative path on the storage for # different versions. @@ -73,12 +73,12 @@ class Build(object): # If the build was called by queried name, build from latest release available but build with the most generic name myver = str.join('.', self.version.split('.')[0:2]) self.genappversion = myver + self.languagepart + self.helppart - self.genappimagefilename[u'x86'] = self.appname + '-' + self.genappversion + '-x86.AppImage' - self.genappimagefilename[u'x86_64'] = self.appname + '-' + self.genappversion + '-x86_64.AppImage' + self.genappimagefilename['x86'] = self.appname + '-' + self.genappversion + '-x86.AppImage' + self.genappimagefilename['x86_64'] = self.appname + '-' + self.genappversion + '-x86_64.AppImage' self.appversion = self.version + self.languagepart + self.helppart - self.appimagefilename[u'x86'] = self.appname + '-' + self.appversion + '-x86.AppImage' - self.appimagefilename[u'x86_64'] = self.appname + '-' + self.appversion + '-x86_64.AppImage' + self.appimagefilename['x86'] = self.appname + '-' + self.appversion + '-x86.AppImage' + self.appimagefilename['x86_64'] = self.appname + '-' + self.appversion + '-x86_64.AppImage' for arch in self.arch: # For generalized builds, we need to check if there are .ver file