Index: trunk/trac-hacks/announcerplugin/announcerplugin/subscribers/watchers.py
===================================================================
--- trunk/trac-hacks/announcerplugin/announcerplugin/subscribers/watchers.py	(revision 450)
+++ trunk/trac-hacks/announcerplugin/announcerplugin/subscribers/watchers.py	(revision 732)
@@ -77,5 +77,5 @@
                AND category=%s
                AND rule=%s
-        """, (sid, int(authenticated), 'watcher', realm, '*', str(resource)))
+        """, (sid, int(authenticated), 'watcher', realm, '*', resource))
         
         result = cursor.fetchone()
@@ -127,5 +127,5 @@
                AND category=%s
                AND rule=%s
-        """, (sid, int(authenticated), 'watcher', realm, '*', str(resource)))
+        """, (sid, int(authenticated), 'watcher', realm, '*', resource))
         
         if not use_db:
@@ -198,5 +198,5 @@
                AND realm=%s
                AND rule=%s
-        """, ('watcher', 'wiki', str(page.name)))
+        """, ('watcher', 'wiki', page.name))
 
         db.commit()
