fixed a typo in call to torrent_handle.status()

This commit is contained in:
Famille Bollu 2018-07-26 22:22:07 +02:00
parent 55aa736e97
commit c9d9b9e868
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class PeertubeDownloader(Thread):
signal_sent = 0
while not h.is_seed():
time.sleep(1)
s = h.status(e)
s = h.status()
# Inform addon that all the metadata has been downloaded and that it may start playing the torrent
if s.status >=3 and signal_sent == 0:
AddonSignals.sendSignal('metadata_downloaded', {'name': h.name()} )