Skip to content

Commit

Permalink
lowercase delivery accuracy (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 authored Jul 13, 2022
1 parent 4bc74f0 commit 5da6fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easypost/shipment.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def lowest_rate(self, carriers: List[str] = None, services: List[str] = None) ->
def lowest_smartrate(self, delivery_days: int, delivery_accuracy: str) -> Rate:
"""Get the lowest smartrate of this shipment."""
smartrates = self.get_smartrates()
lowest_smartrate = self.get_lowest_smartrate(smartrates, delivery_days, delivery_accuracy)
lowest_smartrate = self.get_lowest_smartrate(smartrates, delivery_days, delivery_accuracy.lower())

return lowest_smartrate

Expand Down

0 comments on commit 5da6fc2

Please sign in to comment.