From b446bc0c1519a634d728fd67a3a92cf7fbd31cbd Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Wed, 26 Mar 2008 20:47:56 +0000 Subject: [PATCH] fix reg_torrents_POST --- deluge/ui/webui/pages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deluge/ui/webui/pages.py b/deluge/ui/webui/pages.py index 8f6958656..cf1f1c6e7 100644 --- a/deluge/ui/webui/pages.py +++ b/deluge/ui/webui/pages.py @@ -131,6 +131,9 @@ def reg_torrents_POST(url_name, proxy_command): def POST(self, torrent_ids): getattr(proxy, proxy_command)(torrent_ids) do_redirect() + + _page_class.__name__ = "TORRENTS_POST:" + proxy_command + route("/torrent/%s/(.*)" % url_name, _page_class) reg_torrents_POST("start", "resume_torrent")