always log cbpi version at start (info -> warning)

This commit is contained in:
avollkopf 2023-11-03 07:32:18 +01:00
parent aa069c713c
commit 65a1e54632
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
__version__ = "4.2.0.a7" __version__ = "4.2.0.a8"
__codename__ = "Indian Summer" __codename__ = "Indian Summer"

View file

@ -260,9 +260,9 @@ class CraftBeerPi:
def _print_logo(self): def _print_logo(self):
from pyfiglet import Figlet from pyfiglet import Figlet
f = Figlet(font='big') f = Figlet(font='big')
logger.info("\n%s" % f.renderText("CraftBeerPi %s " % self.version)) logger.warning("\n%s" % f.renderText("CraftBeerPi %s " % self.version))
logger.info("www.CraftBeerPi.com") logger.warning("www.CraftBeerPi.com")
logger.info("(c) 2021/2022 Manuel Fritsch / Alexander Vollkopf") logger.warning("(c) 2021/2022/2023 Manuel Fritsch / Alexander Vollkopf")
def _setup_http_index(self): def _setup_http_index(self):
async def http_index(request): async def http_index(request):