Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'netrender/master_html.py')
-rw-r--r--netrender/master_html.py3
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"}