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
if self.path.endswith('/skills') and '/users/' in self.path:
if self._showRoles(authorized,
callingDomain, self.path,
self.server.baseDir,
self.server.httpPrefix,
self.server.domain,
self.server.domainFull,
self.server.port,
self.server.onionDomain,
self.server.i2pDomain,
GETstartTime, GETtimings,
self.server.proxyType,
cookie, self.server.debug):
if self._showSkills(authorized,
callingDomain, self.path,
self.server.baseDir,
self.server.httpPrefix,
self.server.domain,
self.server.domainFull,
self.server.port,
self.server.onionDomain,
self.server.i2pDomain,
GETstartTime, GETtimings,
self.server.proxyType,
cookie, self.server.debug):
return
self._benchmarkGETtimings(GETstartTime, GETtimings,