blob: 648b58af7900454b3f5ea0e84d9da7a4d06fbbee (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
 | --- tracwatchlist/plugin.py.orig	2012-04-05 10:15:12 UTC
+++ tracwatchlist/plugin.py
@@ -527,7 +527,7 @@ class WatchlistPlugin(Component):
                     self.set_notify(req, realm, res)
                 db.commit()
             if redirectback and len(new_res) == 1:
-                req.redirect(req.href(realm,new_res[0]))
+                req.redirect(req.href(realm,list(new_res)[0]))
             action = 'view'
 
         elif action == "unwatch":
 |