Skip to content

Commit

Permalink
_check error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ibonn committed Mar 20, 2021
1 parent 030ac10 commit e5cab44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_avataaars/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _install_enum(name, value, part_type, enum_type):

# Check wether the value exists or not
_check(const_name in combined,
"{}.{} already exists".format(part_type.__name__, const_name, FileExistsError))
"{}.{} already exists".format(part_type.__name__, const_name), FileExistsError)

# Add to installed
installed_values[part_type.__name__][const_name] = value
Expand Down

0 comments on commit e5cab44

Please sign in to comment.