Module: deluge
Branch: 1.3-stable
Commit: efd2762255564699d4d6622e08fc268891a21fd0
Author: geoffk <>
Date: Sat Feb 5 00:29:10 2011 +0000
Fix #1507 - Temporary file race condition in core/core.py:add_torrent_url
---
deluge/core/core.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/deluge/core/core.py b/deluge/core/core.py
index 3d4fcf4..bcfd716 100644
--- a/deluge/core/core.py
+++ b/deluge/core/core.py
@@ -254,7 +254,7 @@ class Core(component.Component):
log.error("Reason: %s", failure.getErrorMessage())
return failure
- d = download_file(url, tempfile.mkstemp()[1], headers=headers)
+ d = download_file(url, tempfile.mkstemp()[1], headers=headers,
force_filename=True)
d.addCallback(on_get_file)
d.addErrback(on_get_file_error)
return d
--
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en.