Move console.log to not show picturesPath

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-08-28 10:56:26 -07:00
parent 723cf4c99a
commit 57bd5a7683

View File

@ -184,9 +184,10 @@ function existsPromise(path) {
} }
function convertNefToJpg(path, file) { function convertNefToJpg(path, file) {
path = picturesPath + path;
console.log("Converting " + path + "/" + file); console.log("Converting " + path + "/" + file);
path = picturesPath + path;
return new Promise(function(resolve, reject) { return new Promise(function(resolve, reject) {
fs.stat(path + "/" + file.replace(/\.nef$/i, ".jpg"), function(err, stats) { fs.stat(path + "/" + file.replace(/\.nef$/i, ".jpg"), function(err, stats) {
if (!err) { if (!err) {