From 1ed53a5f44c7c0bb044eb1516625d7a0281eae0e Mon Sep 17 00:00:00 2001 From: kiriles90 <38388670+kiriles90@users.noreply.github.com> Date: Sat, 3 Sep 2022 19:08:33 +0300 Subject: [PATCH] Update main_window.js --- src/app/lib/views/main_window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/lib/views/main_window.js b/src/app/lib/views/main_window.js index 9825495093..cf8daed8a6 100644 --- a/src/app/lib/views/main_window.js +++ b/src/app/lib/views/main_window.js @@ -351,7 +351,7 @@ that.restartButter(); } - return fs.promises.readdir(data_path + '/TorrentCollection/').then(files => { + fs.promises.readdir(data_path + '/TorrentCollection/').then(files => { if (files.length) { const fse = require('fs-extra'); fse.move(data_path + '/TorrentCollection', App.settings['databaseLocation'] + '/TorrentCollection', { overwrite: true }).then(() => {