Skip to content

Commit 5da6fc2

Browse files
authored
lowercase delivery accuracy (#210)
1 parent 4bc74f0 commit 5da6fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easypost/shipment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def lowest_rate(self, carriers: List[str] = None, services: List[str] = None) ->
7575
def lowest_smartrate(self, delivery_days: int, delivery_accuracy: str) -> Rate:
7676
"""Get the lowest smartrate of this shipment."""
7777
smartrates = self.get_smartrates()
78-
lowest_smartrate = self.get_lowest_smartrate(smartrates, delivery_days, delivery_accuracy)
78+
lowest_smartrate = self.get_lowest_smartrate(smartrates, delivery_days, delivery_accuracy.lower())
7979

8080
return lowest_smartrate
8181

0 commit comments

Comments
 (0)