sassw: switch elapsed time to use an f-string
This commit is contained in:
parent
27e898fbe5
commit
0ffff88a7c
|
@ -29,8 +29,7 @@ class EventManager(pyinotify.ProcessEvent):
|
|||
print(f'{filename} changed, building', end='')
|
||||
t0 = time.time()
|
||||
build()
|
||||
elapsed_time = time.time() - t0
|
||||
print(' (%.2fs)' % (time.time() - t0))
|
||||
print(f' ({time.time() - t0:.2f}s)')
|
||||
|
||||
build()
|
||||
wm = pyinotify.WatchManager()
|
||||
|
|
Loading…
Reference in New Issue