From 71633950b2080521eafe94d4da9ea08d959f2d70 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Mon, 31 Aug 2020 15:03:04 -0400 Subject: [PATCH] Comments cleanup --- backend/app.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/app.js b/backend/app.js index 0cf5be0..38ab93d 100644 --- a/backend/app.js +++ b/backend/app.js @@ -1159,7 +1159,7 @@ async function downloadFileByURL_exec(url, type, options, sessionID = null) { return; } else { // store info in download for future use - download['_filename'] = info['_filename']; // .substring(fileFolderPath.length, info['_filename'].length-4); + download['_filename'] = info['_filename']; download['filesize'] = utils.getExpectedFileSize(info); } @@ -1606,6 +1606,13 @@ function updateDownloads() { } function checkDownloadPercent(download) { + /* + This is more of an art than a science, we're just selecting files that start with the file name, + thus capturing the parts being downloaded in files named like so: '