diff options
Diffstat (limited to 'pyload/network/XDCCRequest.py')
-rw-r--r-- | pyload/network/XDCCRequest.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pyload/network/XDCCRequest.py b/pyload/network/XDCCRequest.py index a4813e039..01fc2ea78 100644 --- a/pyload/network/XDCCRequest.py +++ b/pyload/network/XDCCRequest.py @@ -132,21 +132,18 @@ class XDCCRequest(object): def abortDownloads(self): self.abort = True - @property - + @property def size(self): return self.filesize - @property - + @property def arrived(self): return self.recv - @property - + @property def percent(self): if not self.filesize: return 0 return (self.recv * 100) / self.filesize |