netrender
[blender.git] / release / scripts / io / netrender / utils.py
index 7e644c83e5fdd5bd236b28475a7621793d2293ed..e9103db8da7400fadbab885b4c36157f5c3e487b 100644 (file)
@@ -148,8 +148,8 @@ def fileURL(job_id, file_index):
 def logURL(job_id, frame_number):
     return "/log_%s_%i.log" % (job_id, frame_number)
 
-def renderURL(job_id, frame_number):
-    return "/render_%s_%i.exr" % (job_id, frame_number)
+def renderURL(job_id, frame_number, exr = True):
+    return "/render_%s_%i.%s" % (job_id, frame_number, "exr" if exr else "jpg")
 
 def cancelURL(job_id):
     return "/cancel_%s" % (job_id)