From e0e5f54629e06689fa99a2f7ba6ed73149beb5e1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Aug 2019 17:06:39 +0100 Subject: [PATCH] Extra debug --- daemon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon.py b/daemon.py index 42292494c..421e709cd 100644 --- a/daemon.py +++ b/daemon.py @@ -1031,6 +1031,8 @@ class PubServer(BaseHTTPRequestHandler): replyToList.append(m.replace('mention=','')) inReplyToUrl=mentionsList[0] self.path=self.path.split('?replyto=')[0]+'/newpost' + if self.server.debug: + print('DEBUG: replyto path '+self.path) # replying as a direct message, for moderation posts if authorized and '?replydm=' in self.path: @@ -1042,6 +1044,8 @@ class PubServer(BaseHTTPRequestHandler): replyToList.append(m.replace('mention=','')) inReplyToUrl=mentionsList[0] self.path=self.path.split('?replydm=')[0]+'/newdm' + if self.server.debug: + print('DEBUG: replydm path '+self.path) # edit profile in web interface if '/users/' in self.path and self.path.endswith('/editprofile'):