diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-09-13 21:28:31 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-09-13 21:28:31 +0200 |
| commit | 65e844abd29fb3048f03214157aac9d3f7420498 (patch) | |
| tree | ee0f957d5d1c0f42cf8ff4458dd3c571027414c2 /app | |
| parent | c7f0268ad3d02a72e3639e289ab706fef1bb2645 (diff) | |
render dir
Diffstat (limited to 'app')
| -rw-r--r-- | app/relay/modules/pix2pixhd.js | 3 |
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 [ |
