From bf65965b265f740ae165b18b8793d2bc90740295 Mon Sep 17 00:00:00 2001 From: C <0xicl33n@gmail.com> Date: Mon, 5 Jan 2026 16:26:19 -0800 Subject: [PATCH] fix banner --- config/gunicorn.conf.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/config/gunicorn.conf.py b/config/gunicorn.conf.py index fcd4568..602ffec 100644 --- a/config/gunicorn.conf.py +++ b/config/gunicorn.conf.py @@ -82,9 +82,16 @@ def on_reload(server): def when_ready(server): commit_hash = get_git_commit() - print(f"{banner.generate("studspider v0.3.0")} - {commit_hash}") + banner_text = banner.generate("studspider v0.3.0") + + # Add commit hash to the last line of banner + banner_lines = banner_text.rstrip("\n").split("\n") + if banner_lines: + banner_lines[-1] += f" {commit_hash}" + + print("\n".join(banner_lines)) print("Built for PLAY-WELL TEKNOLOGIES by contact@studspider.sh\n\n") - print(f"BOOTING ON:\t{bind}") + print(f"HOST:\t{bind}") print(f"WORKERS:\t{workers}") print(f"WORKER TYPE:\t{worker_class}") print(f"{'=' * 60}\n")