All good
This commit is contained in:
parent
6ea544a0f6
commit
6cc7288126
45 changed files with 929 additions and 1043 deletions
|
|
@ -623,6 +623,7 @@ _CATEGORIES: list[tuple[str, str, str, list[str]]] = [
|
|||
"shop/outpost",
|
||||
"shop/pawnbroker",
|
||||
"shop/photo",
|
||||
"shop/photo_studio",
|
||||
"shop/plant_hire",
|
||||
"shop/printer_ink",
|
||||
"shop/printing",
|
||||
|
|
@ -843,6 +844,7 @@ _CATEGORIES: list[tuple[str, str, str, list[str]]] = [
|
|||
[
|
||||
"healthcare/physiotherapist",
|
||||
"healthcare/podiatrist",
|
||||
"healthcare/occupational_therapist",
|
||||
],
|
||||
),
|
||||
(
|
||||
|
|
@ -1171,7 +1173,6 @@ GROCERY_RETAILER_DISPLAY_NAME_OVERRIDES: dict[str, str] = {
|
|||
"Heron": "Heron Foods",
|
||||
"Marks and Spencer": "M&S",
|
||||
"Sainsburys": "Sainsbury's",
|
||||
"The Co-operative Group": "Co-op",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1238,6 +1239,8 @@ def normalize_grocery_retailer(retailer: str | None) -> str:
|
|||
if retailer is None:
|
||||
return ""
|
||||
retailer = retailer.strip()
|
||||
if retailer in COOP_RETAILERS:
|
||||
return "Co-op"
|
||||
return GROCERY_RETAILER_DISPLAY_NAME_OVERRIDES.get(retailer, retailer)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue