Updated for var

This commit is contained in:
Dimitris Zlatanidis 2023-05-04 12:07:01 +03:00
parent ec1ca770f3
commit 34bcc5b966

View file

@ -692,31 +692,31 @@ class UpdateRepository(Configs):
files: str = ' '.join([file.name for file in list(sbo_path.iterdir())])
version: str = (
' '.join([d.strip() for d in self.read_info_file(
' '.join([var.strip() for var in self.read_info_file(
p, info_var[2], info_var[3])])[len(info_var[2]):].replace('"', '')
)
download: str = (
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
p, info_var[4], info_var[5])])[len(info_var[4]):].replace('"', '')
)
download_x86_64: str = (
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
p, info_var[6], info_var[7])])[len(info_var[6]):].replace('"', '')
)
md5sum: str = (
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
p, info_var[5], info_var[6])])[len(info_var[5]):].replace('"', '')
)
md5sum_x86_64: str = (
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
p, info_var[7], info_var[8])])[len(info_var[7]):].replace('"', '')
)
requires: str = (' '.join([d for d in self.read_info_file(
requires: str = (' '.join([var for var in self.read_info_file(
p, info_var[8], info_var[9])])[len(info_var[8]):].replace('"', '')
)