summaryrefslogtreecommitdiffstats
path: root/pyload/network/Browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/network/Browser.py')
-rw-r--r--pyload/network/Browser.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/pyload/network/Browser.py b/pyload/network/Browser.py
index 1c0596ccc..61bf523ab 100644
--- a/pyload/network/Browser.py
+++ b/pyload/network/Browser.py
@@ -42,17 +42,15 @@ class Browser(object):
self.cj = cj
self.http.cj = cj
- @property
-
+ @property
def speed(self):
if self.dl:
return self.dl.speed
return 0
- @property
-
+ @property
def size(self):
if self._size:
return self._size
@@ -60,17 +58,15 @@ class Browser(object):
return self.dl.size
return 0
- @property
-
+ @property
def arrived(self):
if self.dl:
return self.dl.arrived
return 0
- @property
-
+ @property
def percent(self):
if not self.size: return 0
return (self.arrived * 100) / self.size