Skip to content

Commit

Permalink
fix postal code upper case issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram van Dartel committed Oct 31, 2022
1 parent 0130cc8 commit 173842d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions custom_components/afvalwijzer/common/main_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,12 @@ def _waste_type_rename(item_name):
item_name = "takken"
if item_name == "sloop":
item_name = "grofvuil"
if item_name == "glas":
item_name = "glas"
if item_name == "duobak":
item_name = "duobak"
if item_name == "groente":
item_name = "gft"
if item_name == "groente-, fruit en tuinafval":
item_name = "gft"
if item_name == "groente, fruit- en tuinafval":
item_name = "gft"
if item_name == "gft":
item_name = "gft"
if item_name == "chemisch":
item_name = "chemisch"
if item_name == "kca":
item_name = "chemisch"
if item_name == "tariefzak restafval":
Expand All @@ -37,18 +29,10 @@ def _waste_type_rename(item_name):
item_name = "restafvalzakken"
if item_name == "rest":
item_name = "restafval"
if item_name == "plastic":
item_name = "plastic"
if item_name == "plastic, blik & drinkpakken overbetuwe":
item_name = "pmd"
if item_name == "papier":
item_name = "papier"
if item_name == "papier en karton":
item_name = "papier"
if item_name == "pmd":
item_name = "pmd"
if item_name == "textiel":
item_name = "textiel"
if item_name == "kerstb":
item_name = "kerstboom"
# RD4
Expand Down

0 comments on commit 173842d

Please sign in to comment.