Fix bugs in orchestrator.
Chris Pressey
4 years ago
40 | 40 | if outext not in SUPPORTED_OUTPUT_FORMATS: |
41 | 41 | raise ValueError("%s not a supported output format (%r)" % (outext, SUPPORTED_OUTPUT_FORMATS)) |
42 | 42 | |
43 | config = load_config_file(options.configfile) | |
44 | ||
43 | 45 | exe = Executor() |
44 | 46 | |
45 | 47 | instants_dir = mkdtemp() |
46 | 48 | frames_dir = mkdtemp() |
47 | 49 | |
48 | expander = Expander(instants_dir, template, config, exe) | |
50 | expander = Expander(instants_dir, config, exe) | |
49 | 51 | expander.expand_all() |
50 | 52 | |
51 | 53 | renderer = Renderer(config, instants_dir, frames_dir, exe) |