netrender

buttons to cancel and reset jobs in the web interface
This commit is contained in:
2009-12-15 18:09:01 +00:00
parent fedea2eb5c
commit e677e7e99a
5 changed files with 103 additions and 38 deletions

View File

@@ -299,7 +299,7 @@ class RENDER_OT_netclientcancel(bpy.types.Operator):
if conn:
job = netrender.jobs[netsettings.active_job_index]
conn.request("POST", "/cancel", headers={"job-id":job.id})
conn.request("POST", cancelURL(job.id))
response = conn.getresponse()
print( response.status, response.reason )