Properly fix creating torrents in the gtkui with non-ascii filenames
This commit is contained in:
parent
5ea7e21943
commit
bb0bd36c51
|
@ -332,12 +332,12 @@ class CreateTorrentDialog:
|
|||
self.glade.get_widget("progress_dialog").hide_all()
|
||||
|
||||
deferToThread(self.create_torrent,
|
||||
path.decode('utf-8').encode(sys.getfilesystemencoding()),
|
||||
path.decode('utf-8'),
|
||||
tracker,
|
||||
piece_length,
|
||||
self._on_create_torrent_progress,
|
||||
comment,
|
||||
result,
|
||||
result.decode('utf-8'),
|
||||
webseeds,
|
||||
private,
|
||||
author,
|
||||
|
|
Loading…
Reference in New Issue