Skip to content

Commit

Permalink
FIX: Input validation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKaschta committed Feb 20, 2024
1 parent f504625 commit c5e8563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mcp_tools/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def osm_export() -> None:
else:
streets.add(park["tags"]["name"])

if export_street_options[1] in answers["options"]:
if export_street_options[2] in answers["options"]:
# Get all squares in the area
overpass_square_query = (f"[out:json];area({3600000000 + item['id']});"
f"(way[\"place\"=\"square\"](area);relation[\"place\"=\"square\"](area););out;")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mcp_tools"
version = "1.2.0"
version = "1.2.1"
description = "A tool collection for MCP"
authors = [
{ name = "Alexander Kaschta" },
Expand Down

0 comments on commit c5e8563

Please sign in to comment.