From 69fbc82384b2d3f5a38ec2841283f1c1bd5fc7bd Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 21 May 2007 22:53:39 +0000 Subject: [PATCH] adding initial support for create torrent plugin --- src/core.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core.py b/src/core.py index f19431095..50115d06f 100644 --- a/src/core.py +++ b/src/core.py @@ -743,3 +743,7 @@ class Manager: return ret + def create_torrent(self, filename, source_directory, trackers, comments=None, + pieces=256, author="Deluge"): + + return deluge_core.create_torrent(filename, source_directory, trackers, comments, pieces, author)