svghmi/svghmi.py
branchsvghmi
changeset 3168 6950ac7aa966
parent 3167 001f63ff3aaa
child 3170 aaa203270ab0
--- a/svghmi/svghmi.py	Sun Feb 28 21:45:10 2021 +0100
+++ b/svghmi/svghmi.py	Mon Mar 01 10:03:50 2021 +0100
@@ -574,8 +574,8 @@
 
     def ProgressEnd(self, _context, *args):
         k,m,t = _ProgressArgs(args)
+        self.GetCTRoot().logger.write("    Finished %s in %.3f\n"%(m, t - self.times[k]))
         self.times[k] = t
-        self.GetCTRoot().logger.write("    Finished %s in %.3f\n"%(m, t - self.times[k]))
 
     def CTNGenerate_C(self, buildpath, locations):