remove pdm.lock

This commit is contained in:
远野千束 2024-10-03 14:46:01 +08:00
parent eb6a57d5a7
commit 331297691a
3 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View File

@ -121,6 +121,8 @@ celerybeat.pid
# SageMath parsed files # SageMath parsed files
*.sage.py *.sage.py
pdm.lock
# Environments # Environments
.env .env
.venv .venv

View File

@ -1,4 +1,7 @@
import sys
from server_status.__main__ import main from server_status.__main__ import main
if __name__ == "__main__": if __name__ == "__main__":
print(sys.argv)
main() main()

View File

@ -6,6 +6,7 @@ from server_status.cmd_parser import server_status_alc
def main(): def main():
raw_msg = "server_status " + " ".join(sys.argv[1:]) raw_msg = "server_status " + " ".join(sys.argv[1:])
print(raw_msg)
arp = server_status_alc.parse(raw_msg) arp = server_status_alc.parse(raw_msg)
if arp.query("run"): if arp.query("run"):