diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-08 23:09:13 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-07-08 23:09:13 +0200 |
commit | aa6aec1210a0f3d7f35071b403e97224ef1a4e71 (patch) | |
tree | 0d4ff9b506a910e15d912622f55aa6bb57e76718 /module/network | |
parent | calculate queue count, db improvements (diff) | |
download | pyload-aa6aec1210a0f3d7f35071b403e97224ef1a4e71.tar.xz |
new useful events, allDownloadsProcessed + allDownloadsFinished
Diffstat (limited to 'module/network')
-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 0f06dcd6f..781929b9d 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -234,7 +234,7 @@ class HTTPDownload(): remove(self.info.getChunkName(chunk.id)) chunk.fp.flush() - fsync(chunk.fp) #make sure everything was written to disk + fsync(chunk.fp.fileno()) #make sure everything was written to disk chunk.fp.close() #needs to be closed, or merging chunks will fail if failed: raise BadHeader(failed) |