summaryrefslogtreecommitdiff
path: root/app/relay/modules/pix2pixhd.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/relay/modules/pix2pixhd.js')
-rw-r--r--app/relay/modules/pix2pixhd.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/relay/modules/pix2pixhd.js b/app/relay/modules/pix2pixhd.js
index 31a3635..c1a2650 100644
--- a/app/relay/modules/pix2pixhd.js
+++ b/app/relay/modules/pix2pixhd.js
@@ -225,6 +225,9 @@ const render_recursive = {
console.log('will not render mov')
return 'CANCEL'
}
+ if (!task.opt.render_dir) {
+ return 'CANCEL';
+ }
const render_dir = task.opt.render_dir.replace('./recursive/', '')
console.log('rendering recursve path:', render_dir)
return [