mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 12:00:01 +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);
|
||||
for (let i = 0; i < located_files.length; 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user