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='')
|
print(f'{filename} changed, building', end='')
|
||||||
t0 = time.time()
|
t0 = time.time()
|
||||||
build()
|
build()
|
||||||
elapsed_time = time.time() - t0
|
print(f' ({time.time() - t0:.2f}s)')
|
||||||
print(' (%.2fs)' % (time.time() - t0))
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
wm = pyinotify.WatchManager()
|
wm = pyinotify.WatchManager()
|
||||||
|
|
Loading…
Reference in New Issue