summaryrefslogtreecommitdiffstats
path: root/deluge
diff options
context:
space:
mode:
Diffstat (limited to 'deluge')
-rw-r--r--deluge/core/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/deluge/core/core.py b/deluge/core/core.py
index 8abf6ae02..cdf1ec39b 100644
--- a/deluge/core/core.py
+++ b/deluge/core/core.py
@@ -912,6 +912,10 @@ class Core(component.Component):
"""Sets a torrents tracker list. trackers will be ``[{"url", "tier"}]``"""
return self.torrentmanager[torrent_id].set_trackers(trackers)
+ @export
+ def get_magnet_uri(self, torrent_id):
+ return self.torrentmanager[torrent_id].get_magnet_uri()
+
@deprecated
@export
def set_torrent_max_connections(self, torrent_id, value):