Fix issue with downloaded torrent temp files on windows which had illegal characters.
This commit is contained in:
parent
95ce85ec78
commit
08d7b9fba3
|
@ -60,6 +60,7 @@
|
|||
* Fix the Open Folder option not working with non-ascii paths
|
||||
* Fix the daemon starting with config dir containing spaces
|
||||
* Fix Windows tray submenu items requiring right-click instead of left-click
|
||||
* Fix issue with adding some torrents with illegal characters via url in gtk client
|
||||
|
||||
==== OS X ====
|
||||
* Fix Open File/Folder option
|
||||
|
|
|
@ -675,8 +675,7 @@ class AddTorrentDialog(component.Component):
|
|||
|
||||
# Create a tmp file path
|
||||
import tempfile
|
||||
import os.path
|
||||
tmp_file = os.path.join(tempfile.gettempdir(), url.split("/")[-1])
|
||||
(tmp_handle, tmp_file) = tempfile.mkstemp()
|
||||
|
||||
def on_part(data, current_length, total_length):
|
||||
if total_length:
|
||||
|
|
Loading…
Reference in New Issue