diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 21:33:27 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 21:33:27 +0100 |
commit | 9801504a24c0e0576721b041b8500f755fa0c494 (patch) | |
tree | ae883b53043e9ff8c978aab7ea0294f59027326a /module | |
parent | fixed resume (diff) | |
download | pyload-9801504a24c0e0576721b041b8500f755fa0c494.tar.xz |
mssing bracets
Diffstat (limited to 'module')
-rw-r--r-- | module/network/HTTPChunk.py | 2 |
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)) |