diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 13:28:16 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-29 13:28:16 +0100 |
commit | 02a12fe304da59c6a68071af0c8587270870803d (patch) | |
tree | fc5f0c147772ab20ff114f305ce960772f8a163b /module/network/HTTPDownload.py | |
parent | fixed accounts (diff) | |
download | pyload-02a12fe304da59c6a68071af0c8587270870803d.tar.xz |
better cleanup
Diffstat (limited to 'module/network/HTTPDownload.py')
-rw-r--r-- | module/network/HTTPDownload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 5ee33608b..c1ca77e2c 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -98,7 +98,7 @@ class HTTPDownload(): break fo.write(data) fi.close() - if fo.tell() < self.info.getChunkName(i)[2]: + if fo.tell() < self.info.getChunkRange(i)[1]: raise Exception("Downloaded content was smaller than expected") remove(fname) #remove chunk fo.close() |