mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
d922da9b98
commit
b1db5b47b3
|
@ -405,18 +405,21 @@ def html_search(translate: {}, base_dir: str, path: str, domain: str,
|
||||||
get_search_banner_file(base_dir, search_nickname, domain, theme)
|
get_search_banner_file(base_dir, search_nickname, domain, theme)
|
||||||
|
|
||||||
# if there is no search banner then use the default
|
# if there is no search banner then use the default
|
||||||
if not search_banner_filename:
|
print('***search_banner1: ' + str(search_banner))
|
||||||
if os.path.isfile(base_dir +
|
print('***search_banner2: ' + str(search_banner_filename))
|
||||||
'/theme/default/search_banner.png'):
|
if search_banner_filename:
|
||||||
banner_filename = \
|
if not os.path.isfile(search_banner_filename):
|
||||||
acct_dir(base_dir, search_nickname, domain) + \
|
if os.path.isfile(base_dir +
|
||||||
'/search_banner.png'
|
'/theme/default/search_banner.png'):
|
||||||
copyfile(base_dir +
|
banner_filename = \
|
||||||
'/theme/default/search_banner.png',
|
acct_dir(base_dir, search_nickname, domain) + \
|
||||||
banner_filename)
|
'/search_banner.png'
|
||||||
search_banner_file, search_banner_filename = \
|
copyfile(base_dir +
|
||||||
get_search_banner_file(base_dir,
|
'/theme/default/search_banner.png',
|
||||||
search_nickname, domain, theme)
|
banner_filename)
|
||||||
|
search_banner_file, search_banner_filename = \
|
||||||
|
get_search_banner_file(base_dir,
|
||||||
|
search_nickname, domain, theme)
|
||||||
|
|
||||||
text_mode_banner_str = html_keyboard_navigation(text_mode_banner, {}, {})
|
text_mode_banner_str = html_keyboard_navigation(text_mode_banner, {}, {})
|
||||||
if text_mode_banner_str is None:
|
if text_mode_banner_str is None:
|
||||||
|
|
Loading…
Reference in New Issue