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:
parent
3ba952d692
commit
b3024986e6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user