Working on path re-creation
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
caa0f104d4
commit
e9dc145812
@ -283,7 +283,7 @@ function processBlock(items) {
|
||||
asset.taken = asset.modified = date;
|
||||
}
|
||||
|
||||
let dst = picturesPath + path + "thumbs/scaled/" + file;
|
||||
let dst = picturesPath + path + "thumbs/" + file;
|
||||
|
||||
return exists(dst).then(function(exist) {
|
||||
if (exist) {
|
||||
@ -429,7 +429,7 @@ function scanDir(parent, path) {
|
||||
}).then(function() {
|
||||
return Promise.map(albums, function(album) {
|
||||
if (album.hasAssets) {
|
||||
return mkdir(album.path + "thumbs");
|
||||
return mkdir(album.path + "thumbs/scaled");
|
||||
}
|
||||
});
|
||||
}).then(function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user