mirror of https://gitlab.com/bashrc2/epicyon
Remove previous text mode banner
parent
d63aa8763f
commit
f3ce5cb492
2
theme.py
2
theme.py
|
@ -441,6 +441,8 @@ def _setThemeImages(baseDir: str, name: str) -> None:
|
|||
|
||||
textModeBannerFilename = \
|
||||
baseDir + '/theme/' + themeNameLower + '/banner.txt'
|
||||
if os.path.isfile(baseDir + '/accounts/banner.txt'):
|
||||
os.remove(baseDir + '/accounts/banner.txt')
|
||||
if os.path.isfile(textModeBannerFilename):
|
||||
try:
|
||||
copyfile(textModeBannerFilename,
|
||||
|
|
Loading…
Reference in New Issue