mirror of https://gitlab.com/bashrc2/epicyon
Less ambiguous function name
parent
78a0550ede
commit
d8f464acd8
22
daemon.py
22
daemon.py
|
@ -17229,10 +17229,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _edit_profile(self, calling_domain: str, path: str,
|
def _edit_profile2(self, calling_domain: str, path: str,
|
||||||
translate: {}, base_dir: str,
|
translate: {}, base_dir: str,
|
||||||
http_prefix: str, domain: str, port: int,
|
http_prefix: str, domain: str, port: int,
|
||||||
cookie: str) -> bool:
|
cookie: str) -> bool:
|
||||||
"""Show the edit profile screen
|
"""Show the edit profile screen
|
||||||
"""
|
"""
|
||||||
if '/users/' in path and path.endswith('/editprofile'):
|
if '/users/' in path and path.endswith('/editprofile'):
|
||||||
|
@ -20836,13 +20836,13 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return
|
return
|
||||||
|
|
||||||
# edit profile in web interface
|
# edit profile in web interface
|
||||||
if self._edit_profile(calling_domain, self.path,
|
if self._edit_profile2(calling_domain, self.path,
|
||||||
self.server.translate,
|
self.server.translate,
|
||||||
self.server.base_dir,
|
self.server.base_dir,
|
||||||
self.server.http_prefix,
|
self.server.http_prefix,
|
||||||
self.server.domain,
|
self.server.domain,
|
||||||
self.server.port,
|
self.server.port,
|
||||||
cookie):
|
cookie):
|
||||||
self.server.getreq_busy = False
|
self.server.getreq_busy = False
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue