forked from indymedia/epicyon
Tidying
parent
3a7074cebf
commit
8ad67ad425
|
@ -4569,10 +4569,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if not self.server.themeName:
|
||||
self.themeName = getConfigParam(baseDir, 'theme')
|
||||
if not self.server.themeName:
|
||||
themeName = 'default'
|
||||
self.server.themeName = 'default'
|
||||
# custom favicon
|
||||
faviconFilename = \
|
||||
baseDir + '/theme/' + self.server.themeName + '/icons/' + favFilename
|
||||
baseDir + '/theme/' + self.server.themeName + \
|
||||
'/icons/' + favFilename
|
||||
if not os.path.isfile(faviconFilename):
|
||||
# default favicon
|
||||
faviconFilename = \
|
||||
|
|
|
@ -394,12 +394,6 @@ def getIconsWebPath(baseDir: str) -> str:
|
|||
"""Returns the web path where icons exist
|
||||
"""
|
||||
return 'icons'
|
||||
# iconsPath = 'icons'
|
||||
# theme = getConfigParam(baseDir, 'theme')
|
||||
# if theme:
|
||||
# if os.path.isdir(baseDir + '/theme/' + theme + '/icons'):
|
||||
# iconsPath = 'icons/' + theme
|
||||
# return iconsPath
|
||||
|
||||
|
||||
def scheduledPostsExist(baseDir: str, nickname: str, domain: str) -> bool:
|
||||
|
|
Loading…
Reference in New Issue