don't open partially downloaded files

This commit is contained in:
Mathias Rasmussen
2016-08-23 22:23:43 +02:00
parent 82853aa017
commit 73cdfc6d45
2 changed files with 5 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ module.exports = class PlaybackController {
})
}
// Show a file in the OS, eg in Finder on a Mac
// Open a file in OS default app.
openItem (infoHash, index) {
var torrentSummary = TorrentSummary.getByKey(this.state, infoHash)
var filePath = path.join(