mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
c7eb730c06
commit
0a7f214163
|
@ -46,7 +46,8 @@ def _showDesktopBanner() -> None:
|
||||||
"""Shows the banner at the top
|
"""Shows the banner at the top
|
||||||
"""
|
"""
|
||||||
bannerFilename = 'theme/starlight/banner.txt'
|
bannerFilename = 'theme/starlight/banner.txt'
|
||||||
if os.path.isfile(bannerFilename):
|
if not os.path.isfile(bannerFilename):
|
||||||
|
return
|
||||||
with open(bannerFilename, 'r') as bannerFile:
|
with open(bannerFilename, 'r') as bannerFile:
|
||||||
banner = bannerFile.read()
|
banner = bannerFile.read()
|
||||||
if banner:
|
if banner:
|
||||||
|
|
Loading…
Reference in New Issue