Fixed a bug in PeertubeDownloader.run() where I was refering to variable 'torrent'
instead of 'self.torrent'
This commit is contained in:
parent
4c47e8e382
commit
0d63448e8f
|
@ -33,7 +33,7 @@ class PeertubeDownloader(Thread):
|
|||
|
||||
# Add torrent
|
||||
xbmc.log('PeertubeDownloader: Adding torrent ' + self.torrent, xbmc.LOGDEBUG)
|
||||
h = ses.add_torrent({'url': torrent, 'save_path': self.temp_dir})
|
||||
h = ses.add_torrent({'url': self.torrent, 'save_path': self.temp_dir})
|
||||
|
||||
# Set sequential mode to allow watching while downloading
|
||||
h.set_sequential_download(True)
|
||||
|
|
Loading…
Reference in New Issue