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

@@ -118,6 +118,9 @@ def logURL(job_id, frame_number):
def renderURL(job_id, frame_number):
return "/render_%s_%i.exr" % (job_id, frame_number)
def cancelURL(job_id):
return "/cancel_%s" % (job_id)
def prefixPath(prefix_directory, file_path, prefix_path):
if os.path.isabs(file_path):
# if an absolute path, make sure path exists, if it doesn't, use relative local path