Skip to content

Commit

Permalink
Merge pull request #1990 from camptocamp/typo
Browse files Browse the repository at this point in the history
Fix typo in representation
  • Loading branch information
sbrunner authored Dec 18, 2024
2 parents 1d3f215 + fb557b4 commit a23b684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilecloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def __repr__(self) -> str: # pragma: no cover
"""Return a string representation for debugging."""
if self.n == 1:
return f"{self.__class__.__name__}({self.z}, {self.x}, {self.y})"
return f"{self.__class__.__name__}({self.z}, {self.x}, {self.x}, {self.n})"
return f"{self.__class__.__name__}({self.z}, {self.x}, {self.y}, {self.n})"

def __str__(self) -> str:
"""Return a string representation."""
Expand Down

0 comments on commit a23b684

Please sign in to comment.