Updated for time

This commit is contained in:
Dimitris Zlatanidis 2022-12-29 22:41:48 +02:00
parent eb6839cb11
commit 868887b5cf

View file

@ -38,7 +38,6 @@ class Slackbuilds:
def execute(self):
""" Starting build or install the slackbuilds. """
start = time.time()
color = self.colors()
yellow = color['yellow']
cyan = color['cyan']
@ -53,9 +52,10 @@ class Slackbuilds:
self.view_before_build()
start = time.time()
self.download_slackbuilds_and_build()
elapsed_time = time.time() - start
print(f'{yellow}Finished time:{endc}', time.strftime(f'{cyan}%H:%M:%S{endc}',
time.gmtime(elapsed_time)))