Skip to content

Commit

Permalink
fix error message for wrong endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
yang-ruoxi committed Jul 25, 2024
1 parent 631567f commit 5579415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp_api/client/mprester.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def __core_custom_getattr(_self, _attr, _rester_map):
return rester
else:
raise AttributeError(
f"{_self.__class__.__name__!r} object has no attribute {attr!r}"
f"{_self.__class__.__name__!r} object has no attribute {_attr!r}"
)

def __materials_getattr__(_self, attr):
Expand Down

0 comments on commit 5579415

Please sign in to comment.