mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-03 07:03:39 +00:00
Fix #2045 : UnicodeDecodeError when using non-ascii chars in info
Input arg string needed decoding otherwise comparing with unicode torrent name fails.
This commit is contained in:
parent
2ecb54c4f7
commit
752e5a7a8f
@ -49,6 +49,7 @@
|
|||||||
* Fix setting daemon listen interface from command line
|
* Fix setting daemon listen interface from command line
|
||||||
* #2021: Fix share ratio limit not obeyed for seeded torrents added to session
|
* #2021: Fix share ratio limit not obeyed for seeded torrents added to session
|
||||||
* Add optparse custom version to prevent unnecessary loading of libtorrent
|
* Add optparse custom version to prevent unnecessary loading of libtorrent
|
||||||
|
* #1554: Fix seeding on share ratio failing for partially selected torrents
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* #1918: Fix Drag'n'Drop not working in Windows
|
* #1918: Fix Drag'n'Drop not working in Windows
|
||||||
@ -87,6 +88,7 @@
|
|||||||
==== Console ====
|
==== Console ====
|
||||||
* #1953: Fix flickering on every update
|
* #1953: Fix flickering on every update
|
||||||
* #1954: Fix 'invalid literal for float' when setting listen interface
|
* #1954: Fix 'invalid literal for float' when setting listen interface
|
||||||
|
* #1945: Fix UnicodeDecodeError when using non-ascii chars in info
|
||||||
|
|
||||||
==== Label ====
|
==== Label ====
|
||||||
* #1961: Add missing 'All' filter option
|
* #1961: Add missing 'All' filter option
|
||||||
@ -100,6 +102,9 @@
|
|||||||
==== Scheduler ====
|
==== Scheduler ====
|
||||||
* Add plugin page for WebUi
|
* Add plugin page for WebUi
|
||||||
|
|
||||||
|
==== Execute ====
|
||||||
|
* Commands now run scripts asynchronous to prevent Deluge from hanging
|
||||||
|
|
||||||
==== AutoAdd ====
|
==== AutoAdd ====
|
||||||
* Added watch folder support for '.magnet' text file containing single or multiple magnet uris
|
* Added watch folder support for '.magnet' text file containing single or multiple magnet uris
|
||||||
* Fix glade object issue when re-enabling plugin in same session
|
* Fix glade object issue when re-enabling plugin in same session
|
||||||
|
@ -307,6 +307,7 @@ Please use commands from the command line, eg:\n
|
|||||||
if self.interactive and isinstance(self.screen,deluge.ui.console.modes.legacy.Legacy):
|
if self.interactive and isinstance(self.screen,deluge.ui.console.modes.legacy.Legacy):
|
||||||
return self.screen.match_torrent(string)
|
return self.screen.match_torrent(string)
|
||||||
ret = []
|
ret = []
|
||||||
|
string = string.decode(self.encoding)
|
||||||
for tid, name in self.torrents:
|
for tid, name in self.torrents:
|
||||||
if tid.startswith(string) or name.startswith(string):
|
if tid.startswith(string) or name.startswith(string):
|
||||||
ret.append(tid)
|
ret.append(tid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user