mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for time
This commit is contained in:
parent
eb6839cb11
commit
868887b5cf
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue