main
Bob Mottram 2021-08-21 13:58:53 +01:00
parent 6bf5e20de9
commit beb3e93386
1 changed files with 2 additions and 2 deletions

View File

@ -10415,8 +10415,8 @@ class PubServer(BaseHTTPRequestHandler):
bannerFilename = \
acctDir(baseDir, nickname, domain) + '/search_banner.png'
if not os.path.isfile(bannerFilename):
if os.path.isfile(baseDir + '/default/search_banner.png'):
copyfile(baseDir + '/default/search_banner.png',
if os.path.isfile(baseDir + '/theme/default/search_banner.png'):
copyfile(baseDir + '/theme/default/search_banner.png',
bannerFilename)
if os.path.isfile(bannerFilename):
if self._etag_exists(bannerFilename):