Fix flake8

This commit is contained in:
Piotr Wilkin 2026-02-05 20:24:36 +01:00
parent 37d705e3c7
commit f9c0653e7d
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import logging
logging.basicConfig(filename='mcp_dummy.log', level=logging.DEBUG)
def main():
logging.info("Starting MCP Dummy Server")
while True:
@ -65,7 +66,7 @@ def main():
else:
# Ignore notifications or other methods
if req_id is not None:
resp["error"] = {"code": -32601, "message": "Method not found"}
resp["error"] = {"code": -32601, "message": "Method not found"}
else:
continue
@ -77,5 +78,6 @@ def main():
logging.error(f"Error: {e}")
break
if __name__ == "__main__":
main()