send_to tweak
authorPhil Jones <interstar@gmail.com>
Mon, 8 Oct 2018 13:15:15 +0000 (10:15 -0300)
committerPhil Jones <interstar@gmail.com>
Mon, 8 Oct 2018 13:15:15 +0000 (10:15 -0300)
python/thoughtstorms/thoughtstorms/PageStore.py

index cb4f316..e7a367f 100755 (executable)
@@ -248,9 +248,12 @@ class WritablePageStore(PageStore) :
             p = p + "\n### LinkBin\n\n"+tag
             self.put(sendpage,p)
 
-
-        r = re.compile("(.+)\s+\[\[SendTo\]\] \[\[(\S+)\]\]")   
+        print "sending to"
+        print link
+        
+        r = re.compile("(.+)\s+\[\[SendTo\]\]\s+\[\[(\S+)\]\]")   
         m = r.search(link)
+        
         if m :
             sendpage = m.group(2).strip()
             dr = re.compile("Added ([0-9-]+)")