mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-02 19:51:27 +03:00
Fixed bug that caused downloads to fail when archiving was enabled
Removed error message on URL input on the home page Fixed bug that prevented file deletion in multi user mode with archiving enabled
This commit is contained in:
@@ -430,8 +430,8 @@ exports.deleteUserFile = function(user_uid, file_uid, type, blacklistMode = fals
|
||||
fs.appendFileSync(blacklistPath, line);
|
||||
}
|
||||
} else {
|
||||
logger.info('Could not find archive file for audio files. Creating...');
|
||||
fs.closeSync(fs.openSync(archive_path, 'w'));
|
||||
logger.info(`Could not find archive file for ${type} files. Creating...`);
|
||||
fs.ensureFileSync(archive_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user