From 74a92ef4b2acdd909fcf2d9cfa2a25dd5be588a5 Mon Sep 17 00:00:00 2001 From: Duduf Date: Mon, 16 Mar 2020 11:27:28 +0100 Subject: [PATCH] fixed checkDuMEPath() --- src-ae/DuME.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src-ae/DuME.jsx b/src-ae/DuME.jsx index 4f90d7e..8114d6b 100644 --- a/src-ae/DuME.jsx +++ b/src-ae/DuME.jsx @@ -187,9 +187,8 @@ function checkDuMEPath( pathToBin ) { - if (typeof path === 'undefined') path = settings.data.dumePath; - - var DuMEFile = new File( path ); + pathToBin = def(pathToBin, settings.data.dumePath); + var DuMEFile = new File( pathToBin ); return DuMEFile.exists; }