From 331297691aaffc805b59d7129495e8e1075d9097 Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 3 Oct 2024 14:46:01 +0800 Subject: [PATCH] :sparkles: remove pdm.lock --- .gitignore | 2 ++ main.py | 3 +++ server_status/__main__.py | 1 + 3 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 29c6762..27ebebe 100644 --- a/.gitignore +++ b/.gitignore @@ -121,6 +121,8 @@ celerybeat.pid # SageMath parsed files *.sage.py +pdm.lock + # Environments .env .venv diff --git a/main.py b/main.py index e0dbc9e..f4f1a46 100644 --- a/main.py +++ b/main.py @@ -1,4 +1,7 @@ +import sys + from server_status.__main__ import main if __name__ == "__main__": + print(sys.argv) main() diff --git a/server_status/__main__.py b/server_status/__main__.py index 89ed3ee..a5014fb 100644 --- a/server_status/__main__.py +++ b/server_status/__main__.py @@ -6,6 +6,7 @@ from server_status.cmd_parser import server_status_alc def main(): raw_msg = "server_status " + " ".join(sys.argv[1:]) + print(raw_msg) arp = server_status_alc.parse(raw_msg) if arp.query("run"):