Skip to content

Commit

Permalink
Remove region subcode in display of regions
Browse files Browse the repository at this point in the history
  • Loading branch information
robwdwd committed Jun 13, 2024
1 parent 3bb5e40 commit 3b0136c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipwebtools/info/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def format_subdiv(subdiv: Subdivision) -> str:
Returns:
str: formated subdivision
"""
return f"{subdiv.name} ({subdiv.iso_code})" if subdiv.name else ""
return f"{subdiv.name}" if subdiv.name else ""


async def get_geoip(ip_addr: str) -> dict:
Expand Down

0 comments on commit 3b0136c

Please sign in to comment.