diff options
Diffstat (limited to 'netrender/master_html.py')
-rw-r--r-- | netrender/master_html.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netrender/master_html.py b/netrender/master_html.py index e5ff108d..39c7f811 100644 --- a/netrender/master_html.py +++ b/netrender/master_html.py @@ -142,7 +142,8 @@ def get(handler): tot_cache, tot_fluid, tot_other = countFiles(job) serializedJob["totcache"] = tot_cache serializedJob["totfluid"] = tot_fluid - serializedJob["totother"] = tot_other + serializedJob["totother"] = tot_other + serializedJob["wktime"] = (time.time()-job.start_time ) if job.status != JOB_FINISHED else (job.finish_time-job.start_time) else: serializedJob={"name":"invalid job"} |