summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-09 21:33:27 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-09 21:33:27 +0100
commit9801504a24c0e0576721b041b8500f755fa0c494 (patch)
treeae883b53043e9ff8c978aab7ea0294f59027326a
parentfixed resume (diff)
downloadpyload-9801504a24c0e0576721b041b8500f755fa0c494.tar.xz
mssing bracets
-rw-r--r--module/network/HTTPChunk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py
index 54cb79b1c..c4bf1d64c 100644
--- a/module/network/HTTPChunk.py
+++ b/module/network/HTTPChunk.py
@@ -153,7 +153,7 @@ class HTTPChunk(HTTPRequest):
if not self.arrived + self.range[0] - self.range[1]: return None
if self.id == len(self.p.info.chunks) - 1: #as last chunk dont set end range, so we get everything
- range = "%i-" % self.arrived + self.range[0]
+ range = "%i-" % (self.arrived + self.range[0])
else:
range = "%i-%i" % (self.arrived + self.range[0], min(self.range[1] + 1, self.p.size - 1))