Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.

Commit

Permalink
fix .torrents that lack announce-list
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Jul 27, 2015
1 parent 0c7aa87 commit 315da71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function decodeTorrentFile (torrent) {
})
})
} else if (torrent.announce) {
result.announce.push(torrent.announce)
result.announce.push(torrent.announce.toString())
}

uniq(result.announce)
Expand Down

0 comments on commit 315da71

Please sign in to comment.