Ensure splash output flush to system log
This commit is contained in:
parent
c1edef7119
commit
01288debd1
1 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ import shutil
|
|||
import aiofiles
|
||||
from ascii_colors import trace_exception, ASCIIColors
|
||||
import os
|
||||
import sys
|
||||
import configparser
|
||||
|
||||
from fastapi import Depends, Security
|
||||
|
|
@ -287,6 +288,8 @@ def display_splash_screen(args: argparse.Namespace) -> None:
|
|||
|
||||
ASCIIColors.green("Server is ready to accept connections! 🚀\n")
|
||||
|
||||
# Ensure splash output flush to system log
|
||||
sys.stdout.flush()
|
||||
|
||||
def parse_args() -> argparse.Namespace:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue