Ticket #1507: deluge-core-core.py.patch
File deluge-core-core.py.patch, 474 bytes (added by , 14 years ago) |
---|
-
core.py
old new 254 254 log.error("Reason: %s", failure.getErrorMessage()) 255 255 return failure 256 256 257 d = download_file(url, tempfile.mkstemp()[1], headers=headers )257 d = download_file(url, tempfile.mkstemp()[1], headers=headers, force_filename=True) 258 258 d.addCallback(on_get_file) 259 259 d.addErrback(on_get_file_error) 260 260 return d