If there are no skills

This commit is contained in:
bashrc committed 2019-08-27 18:33:11 +01:00
1 parent 04e89c4a3f
commit 2c2ef302a9
1 file changed
+4
+4
View File
@@ -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: