mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
Do not include an 'announce-list' key in torrents when there is only one tracker
This commit is contained in:
parent
09ae4fbb72
commit
0cb52cca23
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
* Fix #1047 move completed does not work if saving to non default path
|
* Fix #1047 move completed does not work if saving to non default path
|
||||||
* Fix renamed files not being utf-8 encoded
|
* Fix renamed files not being utf-8 encoded
|
||||||
* Fix torrent name being blank when renaming root folder to /
|
* Fix torrent name being blank when renaming root folder to /
|
||||||
|
* Do not include an 'announce-list' key in torrents when there is only one tracker
|
||||||
|
|
||||||
==== GtkUI ====
|
==== GtkUI ====
|
||||||
* Replace & with & in the details tab to ensure there are no markup errors
|
* Replace & with & in the details tab to ensure there are no markup errors
|
||||||
|
|
|
@ -100,7 +100,7 @@ def make_meta_file(path, url, piece_length, progress=dummy,
|
||||||
if created_by:
|
if created_by:
|
||||||
data['created by'] = created_by.encode("utf8")
|
data['created by'] = created_by.encode("utf8")
|
||||||
|
|
||||||
if trackers:
|
if trackers and (len(trackers[0]) > 1 or len(trackers) > 1):
|
||||||
data['announce-list'] = trackers
|
data['announce-list'] = trackers
|
||||||
|
|
||||||
data["encoding"] = "UTF-8"
|
data["encoding"] = "UTF-8"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue