Skip to content

Commit

Permalink
fix torrent loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mciparelli committed Nov 15, 2015
1 parent 12ba7a3 commit b246df9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/lib/streamer.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@

var Streamer = {
start: function (model) {
var torrent = model.get('torrent');
var torrentUrl = torrent.url ? torrent.url : torrent.magnet;
var torrentUrl = model.get('torrent');

var torrent_read = false;
if (model.get('torrent_read')) {
Expand Down

0 comments on commit b246df9

Please sign in to comment.