call into the rendering-task to deploy the tasks onto the cubes after rendering

This commit is contained in:
MaZderMind 2014-07-23 23:24:39 +02:00
parent d11886698a
commit a8e0fc7da2
3 changed files with 16 additions and 0 deletions

View file

@ -40,6 +40,10 @@ def generatePreroll(ticket):
task.workdir = os.path.join(os.getcwd(), projectname, 'artwork')
renderlib.rendertask(task)
if hasattr(project, 'deploy'):
print("deploying")
project.deploy(ticket, task)
while True:
print('Asking RPC for {0}-tickets which are ready for state {1}'.format(ticket_type, ticket_state))