summaryrefslogtreecommitdiffstats
path: root/pyload/network/XDCCRequest.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 17:34:59 +0200
commit2db634796bd5426c11f7849ce480265091f128c8 (patch)
tree5a54f7535e9c0ff1ec65f05f347b6eafbb496922 /pyload/network/XDCCRequest.py
parentCleanup (diff)
downloadpyload-2db634796bd5426c11f7849ce480265091f128c8.tar.xz
Cleanup (2)
Diffstat (limited to 'pyload/network/XDCCRequest.py')
-rw-r--r--pyload/network/XDCCRequest.py9
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