From 2c2ef302a99a31bbd93a81ebd1d1ba8e693f010e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 27 Aug 2019 18:33:11 +0100 Subject: [PATCH] If there are no skills --- daemon.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daemon.py b/daemon.py index ab0887102..d4b0a899d 100644 --- a/daemon.py +++ b/daemon.py @@ -1270,6 +1270,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.GETbusy=False return + # show skills on the profile page if self.path.endswith('/skills') and '/users/' in self.path: namedStatus=self.path.split('/users/')[1] if '/' in namedStatus: @@ -1303,6 +1304,9 @@ class PubServer(BaseHTTPRequestHandler): self.wfile.write(msg) self.server.GETbusy=False return + self._redirect_headers(actor,cookie) + self.server.GETbusy=False + return # get an individual post from the path /users/nickname/statuses/number if '/statuses/' in self.path and '/users/' in self.path: