From 34c703c4e81e52410b4c67790a7892837facb1f7 Mon Sep 17 00:00:00 2001 From: inpos Date: Thu, 17 Mar 2016 21:45:50 +0300 Subject: [PATCH] 0.8.4 --- addon.xml | 2 +- lib/pyrrent2http/pyrrent2http.py | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/addon.xml b/addon.xml index 9282b44..b997a4a 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/lib/pyrrent2http/pyrrent2http.py b/lib/pyrrent2http/pyrrent2http.py index ed6d097..2062ef2 100644 --- a/lib/pyrrent2http/pyrrent2http.py +++ b/lib/pyrrent2http/pyrrent2http.py @@ -279,8 +279,7 @@ class TorrentFS(object): self.setPriority(i, 1) else: self.setPriority(i, 0) - def Status(self): - return self.handle.status() + def Shutdown(self): self.shuttingDown = True if len(self.openedFiles) > 0: @@ -785,7 +784,7 @@ class Pyrrent2http(object): info = self.TorrentFS.info #tstatus = self.torrentHandle.status() #tstatus = self.TorrentFS.handle.status() - tstatus = self.TorrentFS.Status() + tstatus = self.torrentHandle.status() status = { 'name' : info.name(),