]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix boodlegrid use of set_children
authordavid-sarah <david-sarah@jacaranda.org>
Tue, 26 Jan 2010 06:34:14 +0000 (22:34 -0800)
committerdavid-sarah <david-sarah@jacaranda.org>
Tue, 26 Jan 2010 06:34:14 +0000 (22:34 -0800)
misc/boodlegrid.tac

index 18530dc0715786cc49fb4cf9ef52f6f08beb8b51..d92c03f62e7e4ee5e20918bbbbe3fe8f0a12dd90 100644 (file)
@@ -79,7 +79,8 @@ class Listener:
             #self.sound("mech/metal-clash.aiff")
         if ("web: %(clientip)s" in format
             and m.get("method") == "POST"
-            and "t=set_children" in m.get("uri", "")):
+            and ("t=set_children" in m.get("uri", "")       # FIXME: may give false-positives
+                 or "t=set-children" in m.get("uri", ""))):
             self.sound("mech/clock-clang.aiff")
 
         # generic messages