Convert a string to f-string.
David Blume

David Blume commited on 2020-12-27 10:47:44
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -28,7 +28,7 @@ def main(debug: bool):
28 28
     counter.counter.run()
29 29
     v_print("Running sitesize...")
30 30
     sitesize.sitesize.run()
31
-    print("Done.  That took %1.2fs." % (time.time() - start_time))
31
+    print(f'Done.  That took {time.time() - start_time:1.2f}s.')
32 32
 
33 33
 
34 34
 if __name__ == '__main__':
35 35