From 4d7e37d6ee6a15f869d688cb42d120d316cd3a96 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Aug 2019 18:04:43 +0100 Subject: [PATCH] Variable name --- daemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon.py b/daemon.py index ec41d619..99b9c5fd 100644 --- a/daemon.py +++ b/daemon.py @@ -822,9 +822,9 @@ class PubServer(BaseHTTPRequestHandler): return # reply from the web interface icon - inReplyTo=None + inReplyToUrl=None if authorized and '?replyto=' in self.path: - inReplyTo=self.path.split('?replyto=')[1] + inReplyToUrl=self.path.split('?replyto=')[1] self.path=self.path.split('?replyto=')[0]+'/newpost' # edit profile in web interface @@ -842,7 +842,7 @@ class PubServer(BaseHTTPRequestHandler): self.path.endswith('/newdm') or \ self.path.endswith('/newshare')): self._set_headers('text/html',cookie) - self.wfile.write(htmlNewPost(self.server.baseDir,self.path,inReplyTo).encode()) + self.wfile.write(htmlNewPost(self.server.baseDir,self.path,inReplyToUrl).encode()) self.server.GETbusy=False return