Skip to content

Commit ce75464

Browse files
committed
fix user type list -> dict
1 parent e4b8609 commit ce75464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

habitipy/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def get_food_needed(self, pet_fullness: int, amount_per_food: int = 5) -> int:
390390
return 0
391391
return int((50 - int(pet_fullness)) / amount_per_food)
392392

393-
def is_hatchable(self, user: list, pet: str, color: str) -> bool:
393+
def is_hatchable(self, user: dict, pet: str, color: str) -> bool:
394394
"""Return true when a pat of a particular type and color can be hatched."""
395395
combined = pet + '-' + color
396396

0 commit comments

Comments
 (0)