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(() => {