Skip to content

Commit

Permalink
Fix TypeError: unhashable type: 'list' bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenglongMa committed Mar 4, 2024
1 parent 82fa23b commit dfacad9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelogs

## v1.2.4

<details markdown="1" open>
<summary><i>Click here to show more.</i></summary>

In this version, we have made the following changes:

1. 🐛 **FIX!**: We fixed a bug where the app will crash when using the `-bw` option.


</details>

## v1.2.3

<details markdown="1" open>
Expand Down
2 changes: 1 addition & 1 deletion src/stone/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def normalize_color(color):
raise ArgumentError(f"Invalid color code: {color}")


@functools.lru_cache(maxsize=128) # Python 3.2+
# @functools.lru_cache(maxsize=128) # Python 3.2+
def normalize_palette(palette):
return [normalize_color(color) for color in palette]

Expand Down
2 changes: 1 addition & 1 deletion src/stone/package.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.2.3"
__version__ = "1.2.4"
__package_name__ = "skin-tone-classifier"
__app_name__ = "Skin Tone Classifier"
__description__ = "An easy-to-use library for skin tone classification"
Expand Down

0 comments on commit dfacad9

Please sign in to comment.