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
be75d5021b
commit
5d0dace131
|
@ -6,6 +6,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
|
||||||
|
@ -44,6 +45,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
|
||||||
|
@ -57,6 +59,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
|
||||||
|
|
|
@ -441,6 +441,7 @@ Please use commands from the command line, eg:\n
|
||||||
|
|
||||||
"""
|
"""
|
||||||
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…
Reference in New Issue