mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-05 12:01:29 +03:00
Fixed bug in import unregistered logic where files in subfolders could not be found
This commit is contained in:
@@ -28,7 +28,7 @@ function getDownloadedFilesByType(basePath, type) {
|
|||||||
var located_files = recFindByExt(basePath, ext);
|
var located_files = recFindByExt(basePath, ext);
|
||||||
for (let i = 0; i < located_files.length; i++) {
|
for (let i = 0; i < located_files.length; i++) {
|
||||||
let file = located_files[i];
|
let file = located_files[i];
|
||||||
var file_path = path.basename(file);
|
var file_path = file.substring(basePath.length+1, file.length);
|
||||||
|
|
||||||
var stats = fs.statSync(file);
|
var stats = fs.statSync(file);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user