mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
Properly fix creating torrents in the gtkui with non-ascii filenames
This commit is contained in:
parent
5ea7e21943
commit
bb0bd36c51
1 changed files with 2 additions and 2 deletions
|
@ -332,12 +332,12 @@ class CreateTorrentDialog:
|
||||||
self.glade.get_widget("progress_dialog").hide_all()
|
self.glade.get_widget("progress_dialog").hide_all()
|
||||||
|
|
||||||
deferToThread(self.create_torrent,
|
deferToThread(self.create_torrent,
|
||||||
path.decode('utf-8').encode(sys.getfilesystemencoding()),
|
path.decode('utf-8'),
|
||||||
tracker,
|
tracker,
|
||||||
piece_length,
|
piece_length,
|
||||||
self._on_create_torrent_progress,
|
self._on_create_torrent_progress,
|
||||||
comment,
|
comment,
|
||||||
result,
|
result.decode('utf-8'),
|
||||||
webseeds,
|
webseeds,
|
||||||
private,
|
private,
|
||||||
author,
|
author,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue