magnet fix

This commit is contained in:
DiMartinoXBMC committed 2015-12-20 16:50:45 +03:00
1 parent 659b1c8889
commit a8b1a9da1c
1 file changed
+2 -2
+2 -2
View File
@@ -220,10 +220,10 @@ class AnteoLoader:
try:
from Libtorrent import Libtorrent
torrent = Libtorrent(self.storageDirectory, magnet)
torrent.magnetToTorrent(self.magnetLink)
torrent.magnetToTorrent(magnet)
self.torrentFile = torrent.torrentFile
except:
self.torrentFile = self.magnetLink
self.torrentFile = magnet
log('[AnteoLoader][magnetToTorrent]: self.torrentFile '+str(self.torrentFile))
class AnteoPlayer(xbmc.Player):