aboutsummaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/createtorrentdialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtk3/createtorrentdialog.py')
-rw-r--r--deluge/ui/gtk3/createtorrentdialog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/createtorrentdialog.py b/deluge/ui/gtk3/createtorrentdialog.py
index e9f1690..ea578a6 100644
--- a/deluge/ui/gtk3/createtorrentdialog.py
+++ b/deluge/ui/gtk3/createtorrentdialog.py
@@ -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(