Merge pull request #48 from datashaman/patch-1
Python weather server missing main function
This commit is contained in:
commit
64ba6ae1fb
1 changed files with 5 additions and 2 deletions
|
|
@ -89,6 +89,9 @@ Forecast: {period['detailedForecast']}
|
|||
|
||||
return "\n---\n".join(forecasts)
|
||||
|
||||
if __name__ == "__main__":
|
||||
def main():
|
||||
# Initialize and run the server
|
||||
mcp.run(transport='stdio')
|
||||
mcp.run(transport='stdio')
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue