Fix flake8
This commit is contained in:
parent
37d705e3c7
commit
f9c0653e7d
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue