glt24: make inkscape rendering usable again

This commit is contained in:
Sophie Schiller 2024-04-04 10:31:05 +02:00
parent 1f8d859bbc
commit 58bc29249e
4 changed files with 23 additions and 18 deletions

View file

@ -99,7 +99,9 @@ renderlib.args = args
# sys.exit(1)
def render(infile, outfile, sequence, parameters={}, workdir=os.path.join(projectname, 'artwork')):
cwd = os.getcwd()
def render(infile, outfile, sequence, parameters={}, workdir=os.path.join(cwd, projectname, 'artwork')):
task = renderlib.Rendertask(infile=infile, outfile=outfile,
sequence=sequence, parameters=parameters, workdir=workdir)
return renderlib.rendertask(task)