mirror of https://gitlab.com/bashrc2/epicyon
Don't copy from template when setting custom font
parent
80a9634572
commit
b6dc900305
4
theme.py
4
theme.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue