Don't copy from template when setting custom font

main
Bob Mottram 2020-05-26 22:35:48 +01:00
parent 80a9634572
commit b6dc900305
1 changed files with 1 additions and 3 deletions

View File

@ -123,9 +123,7 @@ def setCustomFont(baseDir: str):
themeFiles = ('epicyon.css', 'login.css', 'follow.css',
'suspended.css', 'calendar.css', 'blog.css')
for filename in themeFiles:
templateFilename = baseDir + '/epicyon-' + filename
if filename == 'epicyon.css':
templateFilename = baseDir + '/epicyon-profile.css'
templateFilename = baseDir + '/' + filename
if not os.path.isfile(templateFilename):
continue
with open(templateFilename, 'r') as cssfile: