Skip to content
Snippets Groups Projects
Commit fa82ed9a authored by David Trattnig's avatar David Trattnig
Browse files

fix: displaying of version

parent e03f18ec
No related branches found
No related tags found
1 merge request!35ORM-less scheduling
......@@ -112,7 +112,7 @@ class Engine:
self.event_dispatcher.on_boot()
self.logger.info(EngineSplash.splash_screen(self.config))
self.logger.info(EngineSplash.splash_screen())
self.event_dispatcher.on_ready()
#
......@@ -450,13 +450,14 @@ class EngineSplash:
"""Print the splash and version information on boot."""
@staticmethod
def splash_screen(config):
def splash_screen():
"""
Print the engine logo and version info.
"""
version = config.get("version_control")
core_version = config.get("version_core")
liq_version = config.get("version_liquidsoap")
version = AuraConfig.instance.confuse_config["version_control"].get()
core_version = AuraConfig.instance.confuse_config["version_core"].get()
liq_version = AuraConfig.instance.confuse_config["version_liquidsoap"].get()
return f"""\n
█████╗ ██╗ ██╗██████╗ █████╗ ███████╗███╗ ██╗ ██████╗ ██╗███╗ ██╗███████╗
██╔══██╗██║ ██║██╔══██╗██╔══██╗ ██╔════╝████╗ ██║██╔════╝ ██║████╗ ██║██╔════╝
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment