Skip to content

Commit

Permalink
Fix get_icon
Browse files Browse the repository at this point in the history
  • Loading branch information
James Boulton committed Feb 11, 2024
1 parent d7072cc commit edf1f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashio/iotcontrol/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


def _get_icon(icon_str: str) -> Icon:
icon_name = icon_str.upper().replace(" ", "")
icon_name = icon_str.upper().replace(" ", "_")
return Icon[icon_name]


Expand Down

0 comments on commit edf1f97

Please sign in to comment.