Move display of skills to its own method

main
Bob Mottram 2020-09-01 13:08:09 +01:00
parent 897dfa75b1
commit 8e5ae4fcd1
1 changed files with 12 additions and 12 deletions

View File

@ -6975,7 +6975,7 @@ class PubServer(BaseHTTPRequestHandler):
# show skills on the profile page # show skills on the profile page
if self.path.endswith('/skills') and '/users/' in self.path: if self.path.endswith('/skills') and '/users/' in self.path:
if self._showRoles(authorized, if self._showSkills(authorized,
callingDomain, self.path, callingDomain, self.path,
self.server.baseDir, self.server.baseDir,
self.server.httpPrefix, self.server.httpPrefix,