mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
fixing thumbnail error
This commit is contained in:
parent
a091e7d8b3
commit
db6691fc89
@ -63,9 +63,8 @@ export class PhotoProcessing {
|
|||||||
// check if thumbnail already exist
|
// check if thumbnail already exist
|
||||||
try {
|
try {
|
||||||
await fsp.access(thPath, fsConstants.R_OK);
|
await fsp.access(thPath, fsConstants.R_OK);
|
||||||
return null;
|
return thPath;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user