mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-03 19:07:47 +03:00
[UI] Split trackers by newline, not by "/n"
Fixes a bug where e.g. http://not-a-real-tracker.com was split into http:/ ot-a-real-tracker.com when the add trackers dialogue was next shown Closes: https://github.com/deluge-torrent/deluge/pull/469
This commit is contained in:
parent
ee33c0c5bb
commit
98d01fbe35
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class CreateTorrentDialog:
|
|||
*textview_buf.get_bounds(), include_hidden_chars=False
|
||||
)
|
||||
log.debug('Create torrent tracker lines: %s', trackers_text)
|
||||
self.config['createtorrent.trackers'] = trackers_text.split('/n')
|
||||
self.config['createtorrent.trackers'] = trackers_text.splitlines()
|
||||
|
||||
# Append trackers liststore with unique trackers and tiers starting from last tier number.
|
||||
last_tier, orig_trackers = last_tier_trackers_from_liststore(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue