Fix Whirlpool type error in get_brand_for_region (#84944)

Fix type error
This commit is contained in:
mkmer
2023-01-01 14:10:41 -05:00
committed by GitHub
parent b65d4a9efd
commit b72e0f1d87

View File

@@ -3,6 +3,6 @@
from whirlpool.backendselector import Brand, Region
def get_brand_for_region(region: Region) -> bool:
def get_brand_for_region(region: Region) -> Brand:
"""Get the correct brand for each region."""
return Brand.Maytag if region == Region.US else Brand.Whirlpool