mirror of https://github.com/web3privacy/data
update
This commit is contained in:
parent
0d39ad172b
commit
f8b0345198
|
@ -61,6 +61,9 @@ export class Engine {
|
||||||
|
|
||||||
ev.thumbs = {}
|
ev.thumbs = {}
|
||||||
// scan for thumbnails
|
// scan for thumbnails
|
||||||
|
if (!await exists(join(yearDir, "thumbs"))) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for await (const ti of Deno.readDir(join(yearDir, "thumbs"))) {
|
for await (const ti of Deno.readDir(join(yearDir, "thumbs"))) {
|
||||||
const [name, ext] = ti.name.split('.')
|
const [name, ext] = ti.name.split('.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue