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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/network/Browser.py b/pyload/network/Browser.py
index 59cc9dcb0..d8617fabc 100644
--- a/pyload/network/Browser.py
+++ b/pyload/network/Browser.py
@@ -68,7 +68,8 @@ class Browser(object):
@property
def percent(self):
- if not self.size: return 0
+ if not self.size:
+ return 0
return (self.arrived * 100) / self.size