Merge views

This commit is contained in:
Dimitris Zlatanidis 2024-03-26 21:53:18 +02:00
parent 1885ff453a
commit b81ae43452

View file

@ -100,7 +100,7 @@ class CheckUpdates(Configs):
return local_size != repo_size
def error_connect_message(self, repo_chg_txt: str) -> None:
print(f'\n\n{self.endc}{self.prog_name}: {self.bred}Error:{self.endc} '
print(f'\n{self.endc}{self.prog_name}: {self.bred}Error:{self.endc} '
f'Failed to connect to {repo_chg_txt}\n')
def set_http_proxy_server(self) -> None:
@ -159,11 +159,10 @@ class CheckUpdates(Configs):
self.compare: dict = queue.get()
print('\x1b[?25h')
self.view_messages()
else:
print(f'\r{message} ', end='')
self.check_the_repositories()
print()
self.view_messages()
self.view_messages()
return self.compare