Fixed salixos f string

This commit is contained in:
Dimitris Zlatanidis 2023-05-25 19:11:10 +03:00
parent 5bde928311
commit 0d89d7cf1d

View file

@ -462,7 +462,7 @@ class UpdateRepository(Configs):
self.utils.process(lftp_command)
else:
changelog: str = f'{self.repos.salixos_repo_mirror[0]}{self.repos.salixos_repo_changelog}'
packages: str = '{self.repos.salixos_repo_mirror[0]}{self.repos.salixos_repo_packages}'
packages: str = f'{self.repos.salixos_repo_mirror[0]}{self.repos.salixos_repo_packages}'
checksums: str = f'{self.repos.salixos_repo_mirror[0]}{self.repos.salixos_repo_checksums}'
urls[changelog] = self.repos.salixos_repo_path
@ -651,7 +651,7 @@ class UpdateRepository(Configs):
self.delete_sbo_database_data()
self.data.install_sbo_data()
def check_for_updates(self, queue) -> None:
def check_for_updates(self, queue) -> dict:
compare: dict = self.check_updates.check_the_repositories()
self.print_the_messages(compare)
@ -688,7 +688,6 @@ class UpdateRepository(Configs):
# Restore the terminal cursor
print('\x1b[?25h', self.endc, end='')
self.repos_for_update: dict = queue.get()
self.update_the_repositories()