mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
a0cad72aad
commit
d922da9b98
10
daemon.py
10
daemon.py
|
@ -17163,16 +17163,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if self.server.key_shortcuts.get(nickname):
|
if self.server.key_shortcuts.get(nickname):
|
||||||
access_keys = self.server.key_shortcuts[nickname]
|
access_keys = self.server.key_shortcuts[nickname]
|
||||||
|
|
||||||
banner_filename = \
|
|
||||||
acct_dir(base_dir, nickname, self.server.domain) + \
|
|
||||||
'/search_banner.png'
|
|
||||||
if not os.path.isfile(banner_filename):
|
|
||||||
if os.path.isfile(base_dir +
|
|
||||||
'/theme/default/search_banner.png'):
|
|
||||||
copyfile(base_dir +
|
|
||||||
'/theme/default/search_banner.png',
|
|
||||||
banner_filename)
|
|
||||||
|
|
||||||
# show the search screen
|
# show the search screen
|
||||||
msg = html_search(self.server.translate,
|
msg = html_search(self.server.translate,
|
||||||
self.server.base_dir, self.path,
|
self.server.base_dir, self.path,
|
||||||
|
|
Loading…
Reference in New Issue