Remove ascii char

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-08-15 18:44:27 +03:00
parent 8330f1808b
commit 2facafa4d7

View file

@ -282,7 +282,7 @@ class View(Configs): # pylint: disable=[R0902]
f'{self.utils.convert_file_sizes(size_uncomp)} will be installed.{self.endc}') f'{self.utils.convert_file_sizes(size_uncomp)} will be installed.{self.endc}')
if self.mode == 'upgrade' and not self.package_method: if self.mode == 'upgrade' and not self.package_method:
if self.upgrade_log_file.is_file(): if self.upgrade_log_file.is_file():
upgrade_message: str = (f'\n{self.red}{self.ascii.failed} Some versions failed, ' upgrade_message: str = (f'\n{self.red}Some versions failed, '
f'check the /var/log/slpkg/upgrade.log file.{self.endc}') f'check the /var/log/slpkg/upgrade.log file.{self.endc}')
else: else:
upgrade_message: str = (f'\n{self.grey}Note: Packages with custom versions may not ' upgrade_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '