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,18 +6975,18 @@ 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,
self.server.domain, self.server.domain,
self.server.domainFull, self.server.domainFull,
self.server.port, self.server.port,
self.server.onionDomain, self.server.onionDomain,
self.server.i2pDomain, self.server.i2pDomain,
GETstartTime, GETtimings, GETstartTime, GETtimings,
self.server.proxyType, self.server.proxyType,
cookie, self.server.debug): cookie, self.server.debug):
return return
self._benchmarkGETtimings(GETstartTime, GETtimings, self._benchmarkGETtimings(GETstartTime, GETtimings,