Default theme directory

merge-requests/30/head
Bob Mottram 2021-08-21 13:45:23 +01:00
parent dcce90e8c0
commit 2029fbe3cd
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ def _getImageFile(baseDir: str, name: str, directory: str,
return bannerFile, bannerFilename return bannerFile, bannerFilename
# if not found then use the default image # if not found then use the default image
theme = 'default' theme = 'default'
directory = baseDir + '/' + theme + '/default' directory = baseDir + '/theme/' + theme
for ext in bannerExtensions: for ext in bannerExtensions:
bannerFileTest = name + '.' + ext bannerFileTest = name + '.' + ext
bannerFilenameTest = directory + '/' + bannerFileTest bannerFilenameTest = directory + '/' + bannerFileTest