From faf9865f87146f9a5cc8e1cc970ce86e5befa66c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 21 Aug 2012 10:49:20 +0200 Subject: [PATCH] new ox.torrent api --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index f890d4f8..bc677db1 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1013,7 +1013,7 @@ class Item(models.Model): piece_size_pow2 = 16 #2 mbps -> 64KB pieces meta['piece_size_pow2'] = piece_size_pow2 - ox.torrent.createTorrent(video, settings.TRACKER_URL, meta) + ox.torrent.create_torrent(video, settings.TRACKER_URL, meta) self.torrent.name = torrent[len(settings.MEDIA_ROOT)+1:] self.save()