From 0ffff88a7c8a903332b8a46783f08f3d07646799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 23 Aug 2019 10:00:32 +0200 Subject: [PATCH] sassw: switch elapsed time to use an f-string --- bin/sassw | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/sassw b/bin/sassw index 56ecdef..e580f02 100755 --- a/bin/sassw +++ b/bin/sassw @@ -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()