diff --git a/slpkg/check_updates.py b/slpkg/check_updates.py index 26e315de..8dd62b46 100644 --- a/slpkg/check_updates.py +++ b/slpkg/check_updates.py @@ -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') diff --git a/slpkg/update_repository.py b/slpkg/update_repository.py index d1042548..80de90de 100644 --- a/slpkg/update_repository.py +++ b/slpkg/update_repository.py @@ -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()