fix banner

This commit is contained in:
C committed 2026-01-05 16:26:19 -08:00
1 parent bcf625d2b0
commit bf65965b26
1 file changed
+9 -2
+9 -2
View File
@@ -82,9 +82,16 @@ def on_reload(server):
def when_ready(server): def when_ready(server):
commit_hash = get_git_commit() 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("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"WORKERS:\t{workers}")
print(f"WORKER TYPE:\t{worker_class}") print(f"WORKER TYPE:\t{worker_class}")
print(f"{'=' * 60}\n") print(f"{'=' * 60}\n")