Updated print

This commit is contained in:
Dimitris Zlatanidis 2022-12-21 20:47:37 +02:00
parent 95922fb43e
commit c5a9221f53
2 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ class CheckUpdates:
def check(self):
""" Checks the ChangeLogs and returns True or False. """
print('Checking for news in the Changelog.txt file...')
print(end='\rChecking for news in the Changelog.txt file... ')
local_date = 0
local_chg_txt = (f'{self.configs.sbo_repo_path}/'
f'{self.configs.chglog_txt}')
@ -34,6 +34,6 @@ class CheckUpdates:
def updates(self):
if self.check():
print('\nThere are new updates available!\n')
print('\n\nThere are new updates available!\n')
else:
print('\nNo updated packages since the last check.\n')
print('\n\nNo updated packages since the last check.\n')

View file

@ -28,9 +28,9 @@ class UpdateRepository:
check_updates = CheckUpdates()
if not check_updates.check():
print('\nNo changes in ChangeLog.txt between your last update and now.')
print('\n\nNo changes in ChangeLog.txt between your last update and now.')
else:
print('\nThere are new updates available!')
print('\n\nThere are new updates available!')
view.question()