1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-11-24 08:42:24 +02:00

making faces folder if not exists

This commit is contained in:
Patrik J. Braun 2019-12-27 13:47:25 +01:00
parent 3ba952d692
commit b3024986e6

View File

@ -92,6 +92,7 @@ export class PhotoProcessing {
input.cut.width = Math.min(input.cut.width, photo.metadata.size.width - input.cut.left);
input.cut.height = Math.min(input.cut.height, photo.metadata.size.height - input.cut.top);
await fsp.mkdir(ProjectPath.FacesFolder, {recursive: true});
await PhotoProcessing.taskQue.execute(input);
return thPath;
}