From 6cd58c6c9b426f6bc7f3d8bdf9bed2b00ba163e9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 24 Aug 2019 13:38:36 +0100 Subject: [PATCH] No = --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index ea2ad0f66..06bc0471b 100644 --- a/daemon.py +++ b/daemon.py @@ -1099,13 +1099,13 @@ class PubServer(BaseHTTPRequestHandler): self.path.endswith('/newfollowers') or \ self.path.endswith('/newdm') or \ self.path.endswith('/newreport') or \ - '/newreport?=' in self.path or \ + '/newreport?' in self.path or \ self.path.endswith('/newshare')): msg=htmlNewPost(self.server.baseDir,self.path,inReplyToUrl,replyToList).encode() self._set_headers('text/html',len(msg),cookie) self.wfile.write(msg) self.server.GETbusy=False - return + return # get an individual post from the path /@nickname/statusnumber if '/@' in self.path: