From 9b828135a4cfc667d927afe1ab41f049b2a01809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=AE=E3=83=AA=E7=8C=AB?= Date: Tue, 2 Sep 2025 22:37:53 +0800 Subject: [PATCH] chore: add line break in the end. --- .gitignore | 2 +- app.py | 2 +- config.py | 2 +- generate_img.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 8bff7fc..e34662f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ /__pycache__ uv.lock .python-version -.vscode/ \ No newline at end of file +.vscode/ diff --git a/app.py b/app.py index 9082b0e..32a4236 100644 --- a/app.py +++ b/app.py @@ -113,4 +113,4 @@ async def get_status_image(ip: str = Query(None, description="服务器IP地址 raise HTTPException(status_code=500, detail=str(e)) if __name__ == '__main__': - uvicorn.run("app:app", host="0.0.0.0", port=5000, reload=True) \ No newline at end of file + uvicorn.run("app:app", host="0.0.0.0", port=5000, reload=True) diff --git a/config.py b/config.py index 12d549d..b445a90 100644 --- a/config.py +++ b/config.py @@ -4,4 +4,4 @@ BACKGROUND_URL = os.environ.get("BACKGROUND_URL", "https://www.loliapi.com/acg/" DEFAULT_ICON = os.environ.get("DEFAULT_ICON", "mc_status_img/minecraft-creeper-face.png") FONT_PATH = os.environ.get("FONT_PATH", "mc_status_img/MiSans-Bold.ttf") IMAGE_WIDTH = int(os.environ.get("IMAGE_WIDTH", "0")) -IMAGE_HEIGHT = int(os.environ.get("IMAGE_HEIGHT", "0")) \ No newline at end of file +IMAGE_HEIGHT = int(os.environ.get("IMAGE_HEIGHT", "0")) diff --git a/generate_img.py b/generate_img.py index 143f208..64acc4c 100644 --- a/generate_img.py +++ b/generate_img.py @@ -142,4 +142,4 @@ async def generate_bedrock_status_image(addr: str): motd_list, font_url, image_size) - return image \ No newline at end of file + return image